mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
More syntax files from craigbarnes/nanorc
This commit is contained in:
parent
9975b237ac
commit
e5cc8be863
33 changed files with 593 additions and 0 deletions
19
vala.nanorc
Normal file
19
vala.nanorc
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
syntax "vala" "\.vala$"
|
||||
|
||||
color green "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
|
||||
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
|
||||
color black "[(]"
|
||||
color cyan "\<(for|if|while|do|else|case|default|switch|try|throw|catch)\>"
|
||||
color cyan "\<(inline|typedef|struct|enum|union|extern|static|const)\>"
|
||||
color cyan "\<(operator|new|delete|return|null)\>"
|
||||
color cyan "\<(class|override|private|public|signal|this|weak)\>"
|
||||
color brightred "\<(goto|break|continue)\>"
|
||||
color brightcyan "\<(true|false)\>"
|
||||
color blue "\<([0-9]+)\>"
|
||||
color red "[-+/*=<>?:!~%&|]" "->"
|
||||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||
color brightblack "(^|[[:space:]])//.*"
|
||||
color brightblack start="/\*" end="\*/"
|
||||
color brightwhite,cyan "TODO:?"
|
||||
color ,green "[[:space:]]+$"
|
||||
color ,red " +"
|
||||
Loading…
Add table
Add a link
Reference in a new issue