8803d93872
This may be a breaking change if you are using a plugin that checks the filetype. All the default plugins are now updated, just make the filetype you were checking for previously all lowercase.
26 lines
1.2 KiB
Text
26 lines
1.2 KiB
Text
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 " + +| + +"
|