From decae6c25e5b6753239e2c514d0ed1feb15732c0 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 26 Jun 2006 23:40:31 +0000
Subject: [PATCH] per Mike Frysinger's patch, in doc/syntax/c.nanorc, since .i
 and .ii are 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           | 3 +++
 doc/syntax/c.nanorc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0ffccae8..74d322de 100644
--- 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:
diff --git a/doc/syntax/c.nanorc b/doc/syntax/c.nanorc
index 640edc7a..e90c623a 100644
--- a/doc/syntax/c.nanorc
+++ b/doc/syntax/c.nanorc
@@ -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\>"
-- 
GitLab