From 2d2c3d793f72f5085bc0f9ccca9b1d6d44cde3a0 Mon Sep 17 00:00:00 2001 From: Richard Date: Sat, 4 Nov 2017 21:25:32 -0500 Subject: [PATCH] Mark Arduino "ino" files as C/C++ --- c.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c.nanorc b/c.nanorc index e51c99b..d589530 100644 --- a/c.nanorc +++ b/c.nanorc @@ -1,6 +1,6 @@ ## Here is an example for C/C++. ## -syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$" +syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "ino" "\.(def)$" color brightred "\<[A-Z_][0-9A-Z_]+\>" color green "\<(float|double|bool|char|wchar_t|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" color green "\<((s?size)|(char(16|32))|((u_?)?int(8|16|32|64|ptr)))_t\>"