mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
Added *.def files to c.
This commit is contained in:
parent
5d8b59ce10
commit
211cd58347
2
c.nanorc
2
c.nanorc
|
@ -1,6 +1,6 @@
|
||||||
## Here is an example for C/C++.
|
## Here is an example for C/C++.
|
||||||
##
|
##
|
||||||
syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
|
syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$"
|
||||||
color brightred "\<[A-Z_][0-9A-Z_]+\>"
|
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|(un)?signed|inline)\>"
|
color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>"
|
||||||
color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>"
|
color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user