* NanoRC Files: Copy linter and magic from nano 4.6 configs

This commit is contained in:
Zach DeCook
2019-12-18 11:20:31 -05:00
parent 97f06f6c73
commit db98b9f1b5
17 changed files with 26 additions and 0 deletions
+1
View File
@@ -1,6 +1,7 @@
## Here is an example for C/C++.
##
syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$"
magic "^(C|C\+\+) (source|program)"
comment "//"
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)\>"