This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / awk.nanorc
1 syntax "AWK" "\.awk$"
2 header "^#!.*bin/(env +)?awk( |$)"
3 magic "awk script"
4 comment "#"
5
6 color brightyellow "\$[A-Za-z0-9_!@#$*?-]+"
7 color brightyellow "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
8 color brightyellow "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
9 color brightyellow "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
10 color brightblue "\<(function|extension|BEGIN|END)\>"
11 color red "[-+*/%^|!=&<>?;:]|\\|\[|\]"
12 color cyan  "\<(for|if|while|do|else|in|delete|exit)\>"
13 color cyan  "\<(break|continue|return)\>"
14 color brightblue "\<(close|getline|next|nextfile|print|printf|system|fflush)\>"
15 color brightblue "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
16 color brightblue "\<(asort|asorti|gensub|gsub|index|length|match)\>"
17 color brightblue "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
18 color brightblue "\<(mktime|strftime|systime)\>"
19 color brightblue "\<(and|compl|lshift|or|rshift|xor)\>"
20 color brightblue "\<(bindtextdomain|dcgettext|dcngettext)\>"
21 color magenta   "/.*[^\]/"
22 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
23 color magenta   "\\."
24 color brightblack "(^|[[:space:]])#([^{].*)?$"
25 color brightwhite,cyan "TODO:?"
26 color ,green "[[:space:]]+$"
27 color ,red "    + +| +  +"