5840 - syntax highlighting for nano (!!)
This commit is contained in:
parent
dc6bd625f2
commit
ecd1a406e6
|
@ -0,0 +1,16 @@
|
|||
# include this file in your ~/.nanorc
|
||||
|
||||
syntax "subx" "\.subx$"
|
||||
# function definitions
|
||||
color yellow "^[a-z][^ ]*:"
|
||||
# global variables
|
||||
color red "^[A-Z][^ ]*:"
|
||||
# tests
|
||||
color green "^test-[^ ]*:"
|
||||
# strings literals
|
||||
color cyan ""([^"\]|\\.)+""
|
||||
# comments
|
||||
comment "#"
|
||||
color brightblue "# - .*"
|
||||
color blue "#.*$"
|
||||
color brightblack "# \. .*"
|
Loading…
Reference in New Issue