mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Syntax Highlight Overhaul (#568)
* Adds new syntax groups and docs * Large refactor of syntax highlighting files * Changed keybindings for changing tabs. * Improved the documentation. * Added F3 for find to default bindings. * Massive overhaul of the syntax files * Phase 1 color-scheme updates. * The new colorschemes. * Colorscheme and syntax updates. * Tiny fix to the cmc theme. * Another phase of colorschemes and testing gitconfig. * Fixed haskell error * Fortran fix * Delete test.txt Heh, sorry about forgetting to do this again.
This commit is contained in:
committed by
Zachary Yedidia
parent
924809b19b
commit
c29e58e3d4
@@ -1,25 +1,25 @@
|
||||
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 " + +| + +"
|
||||
color preproc "\$[A-Za-z0-9_!@#$*?-]+"
|
||||
color preproc "\b(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\b"
|
||||
color preproc "\b(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\b"
|
||||
color preproc "\b(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\b"
|
||||
color identifier.class "\b(function|extension|BEGIN|END)\b"
|
||||
color symbol.operator "[-+*/%^|!=&<>?;:]|\\|\[|\]"
|
||||
color statement "\b(for|if|while|do|else|in|delete|exit)\b"
|
||||
color special "\b(break|continue|return)\b"
|
||||
color statement "\b(close|getline|next|nextfile|print|printf|system|fflush)\b"
|
||||
color statement "\b(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\b"
|
||||
color statement "\b(asort|asorti|gensub|gsub|index|length|match)\b"
|
||||
color statement "\b(split|sprintf|strtonum|sub|substr|tolower|toupper)\b"
|
||||
color statement "\b(mktime|strftime|systime)\b"
|
||||
color statement "\b(and|compl|lshift|or|rshift|xor)\b"
|
||||
color statement "\b(bindtextdomain|dcgettext|dcngettext)\b"
|
||||
color special "/.*[^\\]/"
|
||||
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||
color constant.specialChar "\\."
|
||||
color comment "(^|[[:space:]])#([^{].*)?$"
|
||||
color todo "TODO:?"
|
||||
color indent-char. "[[:space:]]+$"
|
||||
color indent-char " + +| + +"
|
||||
|
||||
Reference in New Issue
Block a user