## Here is an example for awk. ## syntax "awk" "\.awk$" magic "awk.*script text" ## records icolor brightred "\$[0-9A-Z_!@#$*?-]+" ## awk-set variables color red "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>" color red "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>" color red "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>" ## function declarations and special patterns color brightgreen "\<(function|extension|BEGIN|END)\>" ## operators color green "(\{|\}|\(|\)|\;|\]|\[|\\|<|>|!|=|&|\+|-|\*|%|/|\?:|\^|\|)" ## flow control color brightyellow "\<(for|if|while|do|else|in|delete|exit)\>" color brightyellow "\<(break|continue|return)\>" ## I/O statements color brightgreen "\<(close|getline|next|nextfile|print|printf)\>" color brightgreen "\<(system|fflush)\>" ## standard functions color magenta "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>" color magenta "\<(asort|asorti|gensub|gsub|index|length|match)\>" color magenta "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>" color magenta "\<(mktime|strftime|systime)\>" color magenta "\<(and|compl|lshift|or|rshift|xor)\>" color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>" ## ## String highlighting. You will in general want your comments and ## strings to come last, because syntax highlighting rules will be ## applied in the order they are read in. color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" ## Comment highlighting color brightblue "(^|[[:space:]])#.*$" ## Trailing whitespace color ,green "[[:space:]]+$"
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
man-html | Folder | 0755 |
|
|
asm.nanorc | File | 808 B | 0644 |
|
awk.nanorc | File | 1.49 KB | 0644 |
|
c.nanorc | File | 1.51 KB | 0644 |
|
cmake.nanorc | File | 828 B | 0644 |
|
css.nanorc | File | 331 B | 0644 |
|
debian.nanorc | File | 680 B | 0644 |
|
fortran.nanorc | File | 1.98 KB | 0644 |
|
gentoo.nanorc | File | 3.07 KB | 0644 |
|
groff.nanorc | File | 723 B | 0644 |
|
html.nanorc | File | 151 B | 0644 |
|
java.nanorc | File | 624 B | 0644 |
|
lua.nanorc | File | 2.52 KB | 0644 |
|
makefile.nanorc | File | 248 B | 0644 |
|
man.nanorc | File | 305 B | 0644 |
|
mgp.nanorc | File | 219 B | 0644 |
|
mutt.nanorc | File | 95 B | 0644 |
|
nanorc.nanorc | File | 1.1 KB | 0644 |
|
objc.nanorc | File | 1.66 KB | 0644 |
|
ocaml.nanorc | File | 791 B | 0644 |
|
patch.nanorc | File | 267 B | 0644 |
|
perl.nanorc | File | 1.43 KB | 0644 |
|
php.nanorc | File | 711 B | 0644 |
|
pov.nanorc | File | 682 B | 0644 |
|
python.nanorc | File | 527 B | 0644 |
|
ruby.nanorc | File | 1.44 KB | 0644 |
|
sh.nanorc | File | 734 B | 0644 |
|
spec.nanorc | File | 1.89 KB | 0644 |
|
tcl.nanorc | File | 2.06 KB | 0644 |
|
tex.nanorc | File | 141 B | 0644 |
|
xml.nanorc | File | 287 B | 0644 |
|