mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 21:40:12 +02:00
For better organisation the nanorc files will go to a folder. The install script should translate the themed nanorc files to the final files. The install script should be the official instalation method.
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
syntax "AWK" "\.awk$"
|
|
header "^#!.*bin/(env +)?awk( |$)"
|
|
|
|
color brightyellow "\$[A-Za-z0-9_!@#$*?-]+"
|
|
color brightyellow "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
|
|
color brightyellow "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
|
|
color brightyellow "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
|
|
color brightblue "\<(function|extension|BEGIN|END)\>"
|
|
color red "[-+*/%^|!=&<>?;:]|\\|\[|\]"
|
|
color cyan "\<(for|if|while|do|else|in|delete|exit)\>"
|
|
color cyan "\<(break|continue|return)\>"
|
|
color brightblue "\<(close|getline|next|nextfile|print|printf|system|fflush)\>"
|
|
color brightblue "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
|
|
color brightblue "\<(asort|asorti|gensub|gsub|index|length|match)\>"
|
|
color brightblue "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
|
|
color brightblue "\<(mktime|strftime|systime)\>"
|
|
color brightblue "\<(and|compl|lshift|or|rshift|xor)\>"
|
|
color brightblue "\<(bindtextdomain|dcgettext|dcngettext)\>"
|
|
color magenta "/.*[^\]/"
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color magenta "\\."
|
|
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
|
color brightwhite,cyan "TODO:?"
|
|
color ,green "[[:space:]]+$"
|
|
color ,red " + +| + +"
|