mirror of
https://github.com/scopatz/nanorc
synced 2025-02-17 07:00:04 +01:00
Mark Arduino "ino" files as C/C++
This commit is contained in:
parent
43dd59ad36
commit
2d2c3d793f
2
c.nanorc
2
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\>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user