]> git.wh0rd.org Git - nano.git/commitdiff
per Mike Frysinger's patch, in doc/syntax/c.nanorc, since .i and .ii are
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 26 Jun 2006 23:40:31 +0000 (23:40 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 26 Jun 2006 23:40:31 +0000 (23:40 +0000)
preprocessed C and C++ output, colorize them there

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3684 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/syntax/c.nanorc

index 0ffccae81bbd0508de62c658bffd28217d78b7b6..74d322deb9a06df7a0e3d3be76d08f4d038e2fd4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ CVS code -
          only optional value.  Also fix a wording problem in
          -W/--wordbounds.  Changes to usage(), nano.1, nanorc.5,
          rnano.1, nano.texi, and nanorc.sample.in. (DLR)
+- doc/syntax/c.nanorc:
+       - Since .i and .ii are preprocessed C and C++ output, colorize
+         them here. (Mike Frysinger)
 
 GNU nano 1.3.12 - 2006.06.26
 - General:
index 640edc7a5d86f573f457c8cfba3e88ddb0a9fdae..e90c623adb7b87d86ef75ba3857fbed8d1e054f3 100644 (file)
@@ -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\>"