ensible and rewrite-friendly software → More resilient society.
about summary refs log tree commit diff stats
path: root/subx.nanorc
blob: 9ac8c92afc93df88b9045417e6429f070b2a2532 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 "# \. .*"