mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge pull request #268 from earboxer/morefiles
* Syntax Files: Detect more files for highlighting
This commit is contained in:
commit
12a814bb5b
7 changed files with 9 additions and 6 deletions
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?$" "\.(def)$" "\.ino"
|
||||
magic "^(C|C\+\+) (source|program)"
|
||||
comment "//"
|
||||
color brightred "\<[A-Z_][0-9A-Z_]+\>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue