[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] colorize more files with C
From: |
Mike Frysinger |
Subject: |
[Nano-devel] colorize more files with C |
Date: |
Mon, 26 Jun 2006 19:08:29 -0400 |
User-agent: |
KMail/1.9.1 |
.i and .ii are preprocessed C and C++ output ... so the c.nanorc can be used
to colorize them
-mike
pgpVQR68NNRGw.pgp
Description: PGP signature
Index: doc/syntax/c.nanorc
===================================================================
RCS file: /cvsroot/nano/nano/doc/syntax/c.nanorc,v
retrieving revision 1.1
diff -u -p -r1.1 c.nanorc
--- doc/syntax/c.nanorc 1 Jun 2006 17:23:28 -0000 1.1
+++ doc/syntax/c.nanorc 26 Jun 2006 23:02:49 -0000
@@ -1,6 +1,6 @@
## Here is an example for C/C++.
##
-syntax "c" "\.(c|C|cc|cpp|cxx|h|H|hh|hpp|hxx)$"
+syntax "c" "\.(c|C|cc|cpp|cxx|h|H|hh|hpp|hxx|i|ii)$"
color brightred "\<[A-Z_][0-9A-Z_]+\>"
color green
"\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|signed|unsigned|inline)\>"
color green "\<(u_?)?int(8|16|32|64|ptr)_t\>"
- [Nano-devel] colorize more files with C,
Mike Frysinger <=