Initial Commit
This commit is contained in:
20
nano/syntax/vala.nanorc
Normal file
20
nano/syntax/vala.nanorc
Normal file
@ -0,0 +1,20 @@
|
||||
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 brightblack "\<(for|if|while|do|else|case|default|switch|try|throw|catch)\>"
|
||||
color brightblack "\<(inline|typedef|struct|enum|union|extern|static|const)\>"
|
||||
color brightblack "\<(operator|new|delete|return|null|using)\>"
|
||||
color brightblack "\<(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 cyan "(^|[[:space:]])//.*"
|
||||
color cyan start="/\*" end="\*/"
|
||||
color brightwhite,cyan "TODO:?"
|
||||
color ,green "[[:space:]]+$"
|
||||
color ,red " + +| + +"
|
||||
# +EXTRALINT
|
Reference in New Issue
Block a user