nano syntaxes, vscode css, bug.n backlog

This commit is contained in:
Cynthia Foxwell 2023-04-02 22:13:24 -06:00
parent c220f6bf3f
commit 81b6091ef6
62 changed files with 2331 additions and 1147 deletions

View File

@ -10,7 +10,7 @@ set indicator
set tabsize 2
#colors
set minicolor lightcyan,lightblack
set minicolor lightmagenta,lightblack
set scrollercolor white,black
set numbercolor lightblack,normal
set errorcolor red,black
@ -46,12 +46,11 @@ include ~/.config/nano/syntax/conf.nanorc
include ~/.config/nano/syntax/csharp.nanorc
include ~/.config/nano/syntax/css.nanorc
include ~/.config/nano/syntax/csv.nanorc
include ~/.config/nano/syntax/dot.nanorc
include ~/.config/nano/syntax/default.nanorc
include ~/.config/nano/syntax/diff.nanorc
include ~/.config/nano/syntax/dotenv.nanorc
include ~/.config/nano/syntax/etc-hosts.nanorc
include ~/.config/nano/syntax/gemini.nanorc
include ~/.config/nano/syntax/git.nanorc
include ~/.config/nano/syntax/gitignore.nanorc
include ~/.config/nano/syntax/glsl.nanorc
include ~/.config/nano/syntax/go.nanorc
include ~/.config/nano/syntax/gophermap.nanorc
@ -72,11 +71,11 @@ include ~/.config/nano/syntax/nanorc.nanorc
include ~/.config/nano/syntax/nginx.nanorc
include ~/.config/nano/syntax/nmap.nanorc
include ~/.config/nano/syntax/patch.nanorc
include ~/.config/nano/syntax/php.nanorc
include ~/.config/nano/syntax/pkg-config.nanorc
include ~/.config/nano/syntax/pkgbuild.nanorc
include ~/.config/nano/syntax/powershell.nanorc
include ~/.config/nano/syntax/properties.nanorc
include ~/.config/nano/syntax/puppet.nanorc
include ~/.config/nano/syntax/python.nanorc
include ~/.config/nano/syntax/rust.nanorc
include ~/.config/nano/syntax/sed.nanorc
@ -86,7 +85,6 @@ include ~/.config/nano/syntax/systemd.nanorc
include ~/.config/nano/syntax/toml.nanorc
include ~/.config/nano/syntax/ts.nanorc
include ~/.config/nano/syntax/vi.nanorc
include ~/.config/nano/syntax/x11basic.nanorc
include ~/.config/nano/syntax/xml.nanorc
include ~/.config/nano/syntax/xresources.nanorc
include ~/.config/nano/syntax/yaml.nanorc
@ -95,13 +93,13 @@ include ~/.config/nano/syntax/zsh.nanorc
extendsyntax JavaScript formatter prettier-nano
extendsyntax JavaScript linter eslint -f unix
extendsyntax JSON formatter prettier-nano
extendsyntax CSS formatter prettier-nano
extendsyntax json formatter prettier-nano
extendsyntax css formatter prettier-nano
extendsyntax nanorc color ,red "[[:space:]]+$"
extendsyntax SH color ,red "[[:space:]]+$"
extendsyntax JavaScript color ,red "[[:space:]]+$"
extendsyntax JSON color ,red "[[:space:]]+$"
extendsyntax CSS color ,red "[[:space:]]+$"
extendsyntax HTML color ,red "[[:space:]]+$"
extendsyntax Lua color ,red "[[:space:]]+$"
#extendsyntax nanorc color ,red "[[:space:]]+$"
#extendsyntax SH color ,red "[[:space:]]+$"
#extendsyntax JavaScript color ,red "[[:space:]]+$"
#extendsyntax JSON color ,red "[[:space:]]+$"
#extendsyntax CSS color ,red "[[:space:]]+$"
#extendsyntax HTML color ,red "[[:space:]]+$"
#extendsyntax Lua color ,red "[[:space:]]+$"

View File

@ -1,27 +1,47 @@
syntax "AWK" "\.awk$"
syntax "awk" "\.awk$"
header "^#!.*bin/(env +)?awk( |$)"
magic "awk script"
comment "#"
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 "\\."
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color blue "\$[A-Za-z0-9_!@#$*?-]+"
color blue "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
color blue "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
color blue "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
color cyan "\<(function|extension|BEGIN|END)\>"
color yellow "[-+*/%^|!=&<>?;:]|\\|\[|\]"
color red "\<(for|if|while|do|else|in|delete|exit)\>"
color red "\<(break|continue|return)\>"
color cyan "\<(close|getline|next|nextfile|print|printf|system|fflush)\>"
color cyan "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
color cyan "\<(asort|asorti|gensub|gsub|index|length|match)\>"
color cyan "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
color cyan "\<(mktime|strftime|systime)\>"
color cyan "\<(and|compl|lshift|or|rshift|xor)\>"
color cyan "\<(bindtextdomain|dcgettext|dcngettext)\>"
color yellow "/.*[^\]/"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color yellow "\\."
color brightblack "(^|[[:space:]])#([^{].*)?$"
color brightwhite,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
color brightwhite,cyan "\<TODO\>:?"
color brightwhite,cyan "\<FIXME\>:?"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,52 +1,47 @@
## Here is an example for C/C++.
##
syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$" "\.ino"
magic "^(C|C\+\+) (source|program)"
syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color cyan "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color white "[(]"
color red "\<[A-Z_][0-9A-Z_]+\>"
color blue "\<(float|double|bool|char|int|short|long|void|(un)?signed)\>"
color blue "\<[a-z0-9_]+_t\>"
color red "\<(struct|enum|static|const|union|typedef|extern)\>"
color red "\<(for|if|while|do|else|case|default|switch)\>"
color red "\<(return|inline|sizeof|auto|register|volatile|restrict)\>"
color red "\<(try|throw|catch|operator|new|delete)\>"
color red "\<(goto|break|continue)\>"
color brightwhite "\<(true|false)\>"
color yellow "[-+/*=<>?:!~%&|^]"
color brightwhite "\<([0-9]+|0x[0-9a-fA-F]*)\>|'.'"
color red "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)"
color red "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
color green ""(\\.|[^"])*"|<[A-Za-z_./-]+>"
color yellow "\\([\"'abfnrtv\\]|[0-3]?[0-7]{1,2}|x[A-Fa-f0-9]{1,2}|$)"
color brightblack "(^|[[:space:]])//.*"
color brightblack start="/\*" end="\*/"
comment "//"
color brightred "\<[A-Z_][0-9A-Z_]+\>"
color green "\<(float|double|bool|char|wchar_t|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>"
color green "\<((s?size)|(char(16|32))|((u_?)?int(_fast|_least)?(8|16|32|64))|u?int(max|ptr))_t\>"
color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>"
color green "\<(for|if|while|do|else|case|default|switch)\>"
color green "\<(try|throw|catch|operator|new|delete)\>"
color green "\<((const|dynamic|reinterpret|static)_cast)\>"
color green "\<(alignas|alignof|asm|auto|compl|concept|constexpr|decltype|export|noexcept|nullptr|requires|static_assert|thread_local|typeid|override|final)\>"
color green "\<(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\>"
color brightmagenta "\<(goto|continue|break|return)\>"
color brightcyan "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
color brightwhite,cyan "\<TODO\>:?"
color brightwhite,cyan "\<FIXME\>:?"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
##
## GCC builtins
color green "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
#Operator Color
color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
#Parenthetical Color
color magenta "[(){}]" "\[" "\]"
##
## 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 cyan "<[^= ]*>" ""(\\.|[^"])*""
##
## This string is VERY resource intensive!
#color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
## printf-family format specifiers
color yellow "%(\#|(0-+))?(hh|h|l|ll|q|L|j|z|Z|t)?[A-Za-z]" "%%"
## Comment highlighting
color brightblue "//.*"
color brightblue start="/\*" end="\*/"
# Highlighting for documentation comments
color magenta "@param [a-zA-Z_][a-z0-9A-Z_]+"
color magenta "@return"
color magenta "@author.*"
## Trailing whitespace
color ,green "[[:space:]]+$"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,26 +1,32 @@
## CMake syntax highlighter for GNU Nano
##
syntax "CMake" "(CMakeLists\.txt|\.cmake)$"
comment "#"
syntax "cmake" "CMakeLists\.txt$|\.cmake$"
icolor green "^[[:space:]]*[A-Z0-9_]+"
icolor brightyellow "^[[:space:]]*(include|include_directories|include_external_msproject)\>"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color cyan "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color white "[(]"
color brightwhite "\<(ON|OFF|TRUE|FALSE|YES|NO)\>"
color blue "\$\{[A-Za-z0-9_!@#$*?-]+\}"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color yellow "\\([()#$^]|\\|\")"
color brightblack "(^|[[:space:]])#([^{].*)?$"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
icolor brightgreen "^[[:space:]]*\<((else|end)?if|else|(end)?while|(end)?foreach|break)\>"
color brightgreen "\<(COPY|NOT|COMMAND|PROPERTY|POLICY|TARGET|EXISTS|IS_(DIRECTORY|ABSOLUTE)|DEFINED)\>[[:space:]]"
color brightgreen "[[:space:]]\<(OR|AND|IS_NEWER_THAN|MATCHES|(STR|VERSION_)?(LESS|GREATER|EQUAL))\>[[:space:]]"
icolor brightred "^[[:space:]]*\<((end)?(function|macro)|return)"
#String Color
color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
icolor brightred start="\$(\{|ENV\{)" end="\}"
color magenta "\<(APPLE|UNIX|WIN32|CYGWIN|BORLAND|MINGW|MSVC(_IDE|60|71|80|90)?)\>"
icolor brightblue "^([[:space:]]*)?#.*"
icolor brightblue "[[:space:]]#.*"
## Trailing whitespace
color ,green "[[:space:]]+$"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,17 +1,232 @@
syntax "colorTest" "ColorTest$"
syntax "colortest" "ColorTest$"
color black "\<PLAIN\>"
color white "\<PLAIN\>"
color cyan "\<FUNCTION\>"
color green "\<STRING\>"
color brightblack "\<COMMENT\>"
color blue "\<TYPE\>"
color brightwhite "\<BOOLEAN\>"
color brightwhite "\<NUMBER\>"
color blue "\<VARIABLE\>"
color yellow "\<OPERATOR\>"
color red "\<KEYWORD\>"
color red "\<MACRO\>"
color yellow "\<REGEXP\>"
color yellow "\<ESCAPE\>"
color white "\<DELIMITER\>"
color red "\<JUMP\>"
color brightyellow "\<WARNING\>"
color red "\<SECTION\>"
color white "\<TAG\>"
color red "\<ATTRIBUTE\>"
color brightred "\<CHARREF\>"
color brightblue "\<PATH\>"
color brightblue "\<URL\>"
color brightblue "\<EMAIL\>"
color ,red "\<WHITESPACE\>"
color red "\<red\>"
color green "\<green\>"
color yellow "\<yellow\>"
color blue "\<blue\>"
color white "\<iPLAIN\>"
color cyan "\<iFUNCTION\>"
color green "\<iSTRING\>"
color brightblack "\<iCOMMENT\>"
color blue "\<iTYPE\>"
color brightwhite "\<iBOOLEAN\>"
color brightwhite "\<iNUMBER\>"
color blue "\<iVARIABLE\>"
color yellow "\<iOPERATOR\>"
color red "\<iKEYWORD\>"
color red "\<iMACRO\>"
color yellow "\<iREGEXP\>"
color yellow "\<iESCAPE\>"
color white "\<iDELIMITER\>"
color red "\<iJUMP\>"
color brightyellow "\<iWARNING\>"
color red "\<iSECTION\>"
color white "\<iTAG\>"
color red "\<iATTRIBUTE\>"
color brightred "\<iCHARREF\>"
color brightblue "\<iPATH\>"
color brightblue "\<iURL\>"
color brightblue "\<iEMAIL\>"
color ,red "\<iWHITESPACE\>"
color black "\<black\>"
color red "\<red\>"
color green "\<green\>"
color yellow "\<yellow\>"
color blue "\<blue\>"
color magenta "\<magenta\>"
color cyan "\<cyan\>"
color cyan "\<cyan\>"
color white "\<white\>"
color brightred "\<brightred\>"
color brightgreen "\<brightgreen\>"
color brightyellow "\<brightyellow\>"
color brightblue "\<brightblue\>"
color brightblack "\<brightblack\>"
color brightred "\<brightred\>"
color brightgreen "\<brightgreen\>"
color brightyellow "\<brightyellow\>"
color brightblue "\<brightblue\>"
color brightmagenta "\<brightmagenta\>"
color brightcyan "\<brightcyan\>"
color brightcyan "\<brightcyan\>"
color brightwhite "\<brightwhite\>"
color black " x0 "
color red " x1 "
color green " x2 "
color yellow " x3 "
color blue " x4 "
color magenta " x5 "
color cyan " x6 "
color white " x7 "
color brightblack " x8 "
color brightred " x9 "
color brightgreen " xA "
color brightyellow " xB "
color brightblue " xC "
color brightmagenta " xD "
color brightcyan " xE "
color brightwhite " xF "
color black,black " 00 "
color red,black " 01 "
color green,black " 02 "
color yellow,black " 03 "
color blue,black " 04 "
color magenta,black " 05 "
color cyan,black " 06 "
color white,black " 07 "
color brightblack,black " 08 "
color brightred,black " 09 "
color brightgreen,black " 0A "
color brightyellow,black " 0B "
color brightblue,black " 0C "
color brightmagenta,black " 0D "
color brightcyan,black " 0E "
color brightwhite,black " 0F "
color black,red " 10 "
color red,red " 11 "
color green,red " 12 "
color yellow,red " 13 "
color blue,red " 14 "
color magenta,red " 15 "
color cyan,red " 16 "
color white,red " 17 "
color brightblack,red " 18 "
color brightred,red " 19 "
color brightgreen,red " 1A "
color brightyellow,red " 1B "
color brightblue,red " 1C "
color brightmagenta,red " 1D "
color brightcyan,red " 1E "
color brightwhite,red " 1F "
color black,green " 20 "
color red,green " 21 "
color green,green " 22 "
color yellow,green " 23 "
color blue,green " 24 "
color magenta,green " 25 "
color cyan,green " 26 "
color white,green " 27 "
color brightblack,green " 28 "
color brightred,green " 29 "
color brightgreen,green " 2A "
color brightyellow,green " 2B "
color brightblue,green " 2C "
color brightmagenta,green " 2D "
color brightcyan,green " 2E "
color brightwhite,green " 2F "
color black,yellow " 30 "
color red,yellow " 31 "
color green,yellow " 32 "
color yellow,yellow " 33 "
color blue,yellow " 34 "
color magenta,yellow " 35 "
color cyan,yellow " 36 "
color white,yellow " 37 "
color brightblack,yellow " 38 "
color brightred,yellow " 39 "
color brightgreen,yellow " 3A "
color brightyellow,yellow " 3B "
color brightblue,yellow " 3C "
color brightmagenta,yellow " 3D "
color brightcyan,yellow " 3E "
color brightwhite,yellow " 3F "
color black,blue " 40 "
color red,blue " 41 "
color green,blue " 42 "
color yellow,blue " 43 "
color blue,blue " 44 "
color magenta,blue " 45 "
color cyan,blue " 46 "
color white,blue " 47 "
color brightblack,blue " 48 "
color brightred,blue " 49 "
color brightgreen,blue " 4A "
color brightyellow,blue " 4B "
color brightblue,blue " 4C "
color brightmagenta,blue " 4D "
color brightcyan,blue " 4E "
color brightwhite,blue " 4F "
color black,magenta " 50 "
color red,magenta " 51 "
color green,magenta " 52 "
color yellow,magenta " 53 "
color blue,magenta " 54 "
color magenta,magenta " 55 "
color cyan,magenta " 56 "
color white,magenta " 57 "
color brightblack,magenta " 58 "
color brightred,magenta " 59 "
color brightgreen,magenta " 5A "
color brightyellow,magenta " 5B "
color brightblue,magenta " 5C "
color brightmagenta,magenta " 5D "
color brightcyan,magenta " 5E "
color brightwhite,magenta " 5F "
color black,cyan " 60 "
color red,cyan " 61 "
color green,cyan " 62 "
color yellow,cyan " 63 "
color blue,cyan " 64 "
color magenta,cyan " 65 "
color cyan,cyan " 66 "
color white,cyan " 67 "
color brightblack,cyan " 68 "
color brightred,cyan " 69 "
color brightgreen,cyan " 6A "
color brightyellow,cyan " 6B "
color brightblue,cyan " 6C "
color brightmagenta,cyan " 6D "
color brightcyan,cyan " 6E "
color brightwhite,cyan " 6F "
color black,white " 70 "
color red,white " 71 "
color green,white " 72 "
color yellow,white " 73 "
color blue,white " 74 "
color magenta,white " 75 "
color cyan,white " 76 "
color white,white " 77 "
color brightblack,white " 78 "
color brightred,white " 79 "
color brightgreen,white " 7A "
color brightyellow,white " 7B "
color brightblue,white " 7C "
color brightmagenta,white " 7D "
color brightcyan,white " 7E "
color brightwhite,white " 7F "
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -8,4 +8,22 @@ icolor white ""(\\.|[^"])*""
icolor brightblue "^[[:space:]]*#.*$"
icolor cyan "^[[:space:]]*##.*$"
## Trailing spaces
color ,green "[[:space:]]+$"
color ,red "[[:space:]]+$"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,26 +1,51 @@
syntax "C#" "\.cs$"
syntax "c#" "\.cs$"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
# Class
color brightmagenta "class +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
color red "class +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
# Annotation
color magenta "@[A-Za-z]+"
color yellow "@[A-Za-z]+"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
color green "\<(bool|byte|sbyte|char|decimal|double|float|IntPtr|int|uint|long|ulong|object|short|ushort|string|base|this|var|void)\>"
color cyan "\<(alias|as|case|catch|checked|default|do|dynamic|else|finally|fixed|for|foreach|goto|if|is|lock|new|null|return|switch|throw|try|unchecked|while)\>"
color cyan "\<(abstract|async|class|const|delegate|enum|event|explicit|extern|get|implicit|in|internal|interface|namespace|operator|out|override|params|partial|private|protected|public|readonly|ref|sealed|set|sizeof|stackalloc|static|struct|typeof|unsafe|using|value|virtual|volatile|yield)\>"
color cyan "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color white "[(]"
color blue "\<(bool|byte|sbyte|char|decimal|double|float|IntPtr|int|uint|long|ulong|object|short|ushort|string|base|this|var|void)\>"
color red "\<(alias|as|case|catch|checked|default|do|dynamic|else|finally|fixed|for|foreach|goto|if|is|lock|new|null|return|switch|throw|try|unchecked|while)\>"
color red "\<(abstract|async|class|const|delegate|enum|event|explicit|extern|get|implicit|in|internal|interface|namespace|operator|out|override|params|partial|private|protected|public|readonly|ref|sealed|set|sizeof|stackalloc|static|struct|typeof|unsafe|using|value|virtual|volatile|yield)\>"
# LINQ-only keywords (ones that cannot be used outside of a LINQ query - lots others can)
color cyan "\<(from|where|select|group|info|orderby|join|let|in|on|equals|by|ascending|descending)\>"
color brightred "\<(break|continue)\>"
color brightcyan "\<(true|false)\>"
color red "[-+/*=<>?:!~%&|]"
color blue "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color magenta "\\([btnfr]|'|\"|\\)"
color magenta "\\u[A-Fa-f0-9]{4}"
color red "\<(from|where|select|group|info|orderby|join|let|in|on|equals|by|ascending|descending)\>"
color red "\<(break|continue)\>"
color brightwhite "\<(true|false)\>"
color yellow "[-+/*=<>?:!~%&|]"
color brightwhite "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color yellow "\\([btnfr]|'|\"|\\)"
color yellow "\\u[A-Fa-f0-9]{4}"
color brightblack "(^|[[:space:]])//.*"
color brightblack start="^\s*/\*" end="\*/"
color brightwhite,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
color brightblack start="/\*" end="\*/"
comment "//"
color brightwhite,cyan "\<TODO\>:?"
color brightwhite,cyan "\<FIXME\>:?"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,13 +1,62 @@
## Here is an example for css files.
##
syntax "css" "\.css$"
syntax "CSS" "\.(css|scss|less)$"
color brightred "."
color brightyellow start="\{" end="\}"
color brightwhite start=":" end="[;^\{]"
color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$"
color brightblue start="\/\*" end="\*\/"
color green ";|:|\{|\}"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color yellow ":not\([A-Za-z][A-Za-z0-9]*\)"
color white start="\{" end="\}"
## Trailing spaces
color ,green "[[:space:]]+$"
#
# CSS3 Selectors
#
color white "(^|\*/|[][:space:],}>+~()])(a|abbr|acronym|address|area|article|applet|aside|audio|b|base|bd[io]|bgsound|big|blink|blockquote|body|(no)?br|button|canvas|caption|center|cite|code|(col)?group|command|content|datalist|d[dlt]|del|details|dfn|dialog|dir|div|em|embed|eventsource|fieldset|figcaption|figure|(base)?font|footer|form|frame(set)?|h[1-6]|head(er)?|hgroup|hr|html|i|iframe|img|input|ins|isindex|kbd|keygen|label|legend|li|link|listing|main|map|mark|marquee|menu(item)?|meta|meter|nav|noframes|object|[ou]l|optgroup|option|output|p|param|plaintext|pre|progress|q|r[pt]|ruby|s|samp|(no)?script|section|select|shadow|small|source|spacer|span|strike|strong|style|su[bp]|summary|table|t(body|foot|head)|t[dhr]|template|textarea|time|title|track|tt|u|var|video|wbr|xmp)([[:space:],#.{[>+~:)]|/\*|$)"
color white "(^|[][:space:],}])\*([[:space:],{:[]|$)"
color yellow "[[:space:]]*[>+~][[:space:]]*"
color yellow ":(active|checked|(dis|en)abled|empty|(first|last|only)-(child|of-type)|focus|hover|in-range|link|optional|out-of-range|read-(only|write)|required|root|selection|target|visited|(in)?valid|visited)\>"
color blue "[.#][A-Za-z_][A-Za-z0-9_-]*"
color yellow "::(after|before|first-(letter|line)|selection)\>"
color red "\!important[[:space:]]*(;|/\*|$)"
#
# CSS3 Keywords (predefined property-values mostly)
#
color red "(^|}|\*/)[[:space:]]*@(font-face|media)\>"
color red "\<(above|absolute|always|armenian|auto|avoid|baseline|behind|below|bidi-override|blink|block|bold(er)?|bottom|break-word|capitalize|center(-left|-right)?|circle|collapse|cjk-ideographic|(no-)?(close|open)-quote|compact|continuous|crop|cross(hair)?|(extra-|semi-|ultra-)?(condensed|expanded)|cursive|dashed|default|decimal(-leading-zero)?|digits|disc|dotted|double|embed|fantasy|far-(left|right)|fast(er)?|fixed|georgian|groove|hebrew|help|hide|high(er)?|(hirag|katak)ana(-iroha)?|inherit|initial|inline(-block|-table)?|(in|out)(set|side)|invert|italic|justify|landscape|larger?|(left|right)(-side|wards)?|level|lighter|line-through|list-item|loud|low(er)?|ltr|(lower|upper)(-alpha|-greek|-latin|-roman|case)|marker|medium|middle|mix|monospace|move|narrower|none|normal|(no|pre-)wrap|oblique|once|overline|pointer|portait|relative|(no-)?repeat|repeat-[xy]|([ew]|[ns][ew]?)-resize|ridge|rlt|run-in|scroll|separate|(sans-)?serif|show|silent|slow(er)?|small(er)?|small-caps|soft|solid|spell-out|square|static|sub|super|text(-bottom|-top)?|thick|thin|top|table-(caption|cell|(column|row)(-group)?|(footer|header)-group)|underline|unset|visible|wait|wider|x-(fast|high|loud|s?low|soft)|xx?-(large|small))([[:space:];,]|/\*|$)"
#
# CSS3 Color Keywords
#
color yellow "(^|\*/|[[:space:]:])(currentColor|transparent)([[:space:];]|/\*|$)"
# The following section for CSS3 colors is generated automatically.
# See included generate-rules-for-web-highlighting.sh script file (found in the scripts/
# directory) for more info on how this process can be repeated should
# the list of CSS3 colors be changed in the future
color yellow "(^|\*/|[[:space:]:])(aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen)([[:space:];]|/\*|$)"
#
# CSS3 Properties
#
color red "(^|\*/|[[:space:]({;])(align-(content|items|self)|alignment-(adjust|baseline)|all|animation(-delay|-direction|-duration|-fill-mode|-iteration-count|-name|-play-state|-timing-function)?|azimuth|backface-visibility|baseline-shift|bleed|background(-attachment|-blend-mode|-clip|-color|-image|-origin|-position|-repeat|-size)?|bookmark-(label|level|state|target)|border(-bottom|-left|-right|-top)?(-color|-style|-width)?|border-(((bottom|top)-(left|right)-)?radius|(collapse|image(-(outset|repeat|slice|source|width))?|spacing))|bottom|box-(decoration-break|shadow|sizing)|break-(after|before|inside)|caption-side|clear|clip|color(-profile)?|column-(count|fill|gap|rule|rule-(color|style|width)|span|width)|columns|content|counter-(increment|(re)?set)|crop|(cue|mark|pause)(-after|-before)?|cursor|direction|display|drop-initial-((after|before)-(adjust|align)|size|value)|dominant-baseline|elevation|empty-cells|filter|flex(-(basis|direction|flow|grow|shrink|wrap))?|float(-offset)?|font|font-(family|feature-settings|kerning|language-override|size(-adjust)?|stretch|style|synthesis|variant|weight|variant-(alternates|caps|east-asian|ligatures|numeric|position))|grid-(column|row)|hanging-punctuation|height|hyphens|icon|image-(orientation|rendering|resolution)|ime-mode|inline-box-align|justify-content|left|letter-spacing|line-(break|height|stacking(-ruby|-shift|-strategy)?|style|style-(image|position|type))|(margin|padding)(-bottom|-left|-right|-top)?|marker-(offset|side)|marks|marquee-(direction|play-count|speed|style)|mask(-type)?|(max|min)-(height|width)|max-lines|move-to|nav-(down|index|left|right|up)|object-(fit|position)|opacity|order|orphans|outline(-(color|offset|style|width))?|overflow(-wrap|-x|-y)?|page(-break-(after|before|inside)|-policy)?|perspective(-origin)?|phonemes|pitch(-range)?|play-during|position|presentation-level|quotes|rendering-intent|resize|richness|right|rest(-after|-before)?|rotation|rotation-point|ruby-(align|position)|size|speak(-(as|header|numeral|punctuation))?|speech-rate|stress(-set)?|tab-size|table-layout|target(-name|-new|-position)?|text-(align(-last)?|combine-upright|decoration|decoration-(color|line|skip|style)|emphasis(-color|-position|-style)?|height|indent|justify|orientation|overflow|shadow|transform|underline-position)|top|transform(-origin|-style)?|transition|unicode-bidi|vertical-align|transition-(delay|duration|property|timing-function)|voice-(balance|duration|family|pitch(-range)?|range|rate|stress|volume)|visibility|volume|white-space|widows|width|word-(break|spacing|wrap)|writing-mode|z-index)[[:space:]]*:"
color brightyellow "(^|\*/|[[:space:]({;])-(ms|moz|apple|khtml|wap|webkit|o|xv)(-[a-z]+)+[[:space:]]*:"
color brightblue "(^|\*/|[[:space:]:])url\([^)]+\)([[:space:];}]|$)"
color cyan "(^|\*/|[[:space:]:])(attr|calc|(repeating-)?(linear|radial)-gradient|(rgb|hsl)a?)\([^)]+\)([[:space:];}]|$)"
color cyan "(^|\*/|[[:space:]:])url\("
# Make white spaces plain again
color white "[[:space:]]+"~OPERATOR: ":nth-(last-)?(child|of-type)\([[:space:]]*([+-]?[0-9]+(n[[:space:]]*\+[[:space:]]*[0-9]+)?|odd|even)[[:space:]]*\)"
color yellow ":lang\([[:space:]]*[A-Za-z]{2}(-[A-Za-z]{2})?[[:space:]]*\)"
color red "\[[^][]*\]"
color yellow "[;:(){}]"
color white ","
color brightwhite "\<(odd|even)\>"
color brightwhite "\<[0-9][0-9]*n?"
color brightwhite "[\+-]?([0-9]+|[0-9]*\.[0-9]+)(%|e(m|x)|p(x|t|c)|in|ft|(m|c)m|k?Hz|deg|g?rad|m?s)"
color yellow "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})\>"
color green ""[^"]*"|'[^']*'"
color brightblack start="/\*" end="\*/"
color brightwhite,cyan "\<TODO\>:?"
color brightwhite,cyan "\<FIXME\>:?"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"

View File

@ -0,0 +1,24 @@
syntax "default"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -0,0 +1,32 @@
syntax "diff" "\.diff$"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color brightred "^[<\-].*"
color brightgreen "^[>+].*"
color brightblack "^ .*"
color brightblack "^[^<> +@0-9\-].*"
color red "@@.*@@"
color red "^---$"
color red "^[0-9].*"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,8 +0,0 @@
syntax "DOT" "\.(dot|gv)$"
color cyan "\<(digraph|edge|graph|node|subgraph)\>"
color magenta "\<(arrowhead|arrowsize|arrowtail|bgcolor|center|color|constraint|decorateP|dir|distortion|fillcolor|fontcolor|fontname|fontsize|headclip|headlabel|height|labelangle|labeldistance|labelfontcolor|labelfontname|labelfontsize|label|layers|layer|margin|mclimit|minlen|name|nodesep|nslimit|ordering|orientation|pagedir|page|peripheries|port_label_distance|rankdir|ranksep|rank|ratio|regular|rotate|samehead|sametail|shapefile|shape|sides|size|skew|style|tailclip|taillabel|URL|weight|width)\>"
color red "=|->|--"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblack "(^|[[:space:]])//.*"
color brightblack start="^\s*/\*" end="\*/"

View File

@ -7,4 +7,22 @@ syntax "dotenv" "\.env" "\.env\..+"
color green "(\(|\)|\$|=)"
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
color cyan "(^|[[:space:]])#.*$"
color ,green "[[:space:]]+$"
color ,red "[[:space:]]+$"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -12,3 +12,21 @@ color normal "[.:]"
# comments
color brightblack "^#.*"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,21 +0,0 @@
## syntax highlighting for gemini:// markup language
syntax gemini "\.(gemini|gmi)$"
# Heading levels
color brightgreen "^#.*"
color brightcyan "^##.*"
color brightmagenta "^###.*"
# Link Text
color brightred "^=>\s*\S+\s+.*"
# Link URL
color green "^=>\s*\S+"
# Link Prefix
color yellow "^=>"
# Bullet Lists
color brightblue "^\*.*"
# Monospaced Blocks
color white,black start="^```" end="^```"

View File

@ -1,80 +1,90 @@
syntax "git-config" "git(config|modules)$|\.git/config$"
syntax "gitconfig" "git(config|modules)$|\.git/config$"
color brightcyan "\<(true|false)\>"
color cyan "^[[:space:]]*[^=]*="
color brightmagenta "^[[:space:]]*\[.*\]$"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color brightwhite "\<(true|false)\>"
color red "^[[:space:]]*[^=]*="
color red "^[[:space:]]*\[.*\]$"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblack "(^|[[:space:]])#([^{].*)?$"
color ,green "[[:space:]]+$"
color ,red "^ +"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# This code is free software; you can redistribute it and/or modify it under
# the terms of the new BSD License.
#
# Copyright (c) 2010, Sebastian Staudt
syntax "git-editmsg" "(COMMIT|TAG)_EDITMSG$"
# A nano configuration file to enable syntax highlighting of some Git specific
# files with the GNU nano text editor (http://www.nano-editor.org)
#
syntax "git-commit" "COMMIT_EDITMSG|TAG_EDITMSG"
color brightblack "^#.*$"
color red start="# Changes.*" end="# Changed.*"
color red start="# Untracked.*" end="diff"
color red start="# Untracked.*" end="$$"
color white "^[+-].*"
color red "^(diff|index|---|\+\+\+).*"
color red "(Change[ds]|Untracked)"
color red "@@.*@@"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# Commit message
color yellow ".*"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"
# Comments
syntax "git-rebase" "git-rebase-todo$"
color red "^(edit|fixup|pick|reword|squash|exec|[efprsx])\>"
color brightwhite "\<[0-9a-f]{7,40}\>"
color brightblack "^#.*"
# Files changes
color white "#[[:space:]](deleted|modified|new file|renamed):[[:space:]].*"
color red "#[[:space:]]deleted:"
color green "#[[:space:]]modified:"
color brightgreen "#[[:space:]]new file:"
color brightblue "#[[:space:]]renamed:"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"
# Untracked filenames
color black "^# [^/?*:;{}\\]+\.[^/?*:;{}\\]+$"
syntax "gitignore" ".gitignore$"
color brightmagenta "^#[[:space:]]Changes.*[:]"
color brightred "^#[[:space:]]Your branch and '[^']+"
color brightblack "^#[[:space:]]Your branch and '"
color brightwhite "^#[[:space:]]On branch [^ ]+"
color brightblack "^#[[:space:]]On branch"
# Recolor hash symbols
# Recolor hash symbols
color brightblack "#"
# Trailing spaces (+LINT is not ok, git uses tabs)
color ,green "[[:space:]]+$"
# This syntax format is used for interactive rebasing
syntax "git-rebase-todo" "git-rebase-todo"
# Default
color yellow ".*"
# Comments
color brightblack "^#.*"
# Rebase commands
color green "^(e|edit) [0-9a-f]{7,40}"
color green "^# (e, edit)"
color brightgreen "^(f|fixup) [0-9a-f]{7,40}"
color brightgreen "^# (f, fixup)"
color brightwhite "^(p|pick) [0-9a-f]{7,40}"
color brightwhite "^# (p, pick)"
color blue "^(r|reword) [0-9a-f]{7,40}"
color blue "^# (r, reword)"
color brightred "^(s|squash) [0-9a-f]{7,40}"
color brightred "^# (s, squash)"
color yellow "^(x|exec) [^ ]+ [0-9a-f]{7,40}"
color yellow "^# (x, exec)"
# Recolor hash symbols
color brightblack "#"
# Commit IDs
color brightblue "[0-9a-f]{7,40}"
icolor brightblue "^[[:space:]]*#.*$"
color ,red "[[:space:]]+$"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,3 +0,0 @@
syntax "gitignore" ".gitignore$"
icolor brightblue "^[[:space:]]*#.*$"

View File

@ -1,15 +1,39 @@
syntax "GLSL" "\.(frag|vert|fp|vp|glsl)$"
syntax "glsl" "\.(frag|vert|fp|vp|glsl)$"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
color green "\<(void|bool|bvec2|bvec3|bvec4|int|ivec2|ivec3|ivec4|float|vec2|vec3|vec4|mat2|mat3|mat4|struct|sampler1D|sampler2D|sampler3D|samplerCUBE|sampler1DShadow|sampler2DShadow)\>"
color green "\<gl_(DepthRangeParameters|PointParameters|MaterialParameters|LightSourceParameters|LightModelParameters|LightModelProducts|LightProducts|FogParameters)\>"
color cyan "\<(const|attribute|varying|uniform|in|out|inout|if|else|return|discard|while|for|do)\>"
color brightred "\<(break|continue)\>"
color brightcyan "\<(true|false)\>"
color red "[-+/*=<>?:!~%&|^]"
color blue "\<([0-9]+|0x[0-9a-fA-F]*)\>"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color cyan "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color white "[(]"
color blue "\<(void|bool|bvec2|bvec3|bvec4|int|ivec2|ivec3|ivec4|float|vec2|vec3|vec4|mat2|mat3|mat4|struct|sampler1D|sampler2D|sampler3D|samplerCUBE|sampler1DShadow|sampler2DShadow)\>"
color blue "\<gl_(DepthRangeParameters|PointParameters|MaterialParameters|LightSourceParameters|LightModelParameters|LightModelProducts|LightProducts|FogParameters)\>"
color red "\<(const|attribute|varying|uniform|in|out|inout|if|else|return|discard|while|for|do)\>"
color red "\<(break|continue)\>"
color brightwhite "\<(true|false)\>"
color yellow "[-+/*=<>?:!~%&|^]"
color brightwhite "\<([0-9]+|0x[0-9a-fA-F]*)\>"
color brightblack "(^|[[:space:]])//.*"
color brightblack start="^\s*/\*" end="\*/"
color brightwhite,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
color brightblack start="/\*" end="\*/"
comment "//"
color brightwhite,cyan "\<TODO\>:?"
color brightwhite,cyan "\<FIXME\>:?"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,23 +1,46 @@
syntax "GO" "\.go$"
comment "//"
syntax "go" "\.go$"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
color brightblue "\<(append|cap|close|complex|copy|delete|imag|len)\>"
color brightblue "\<(make|new|panic|print|println|protect|real|recover)\>"
color green "\<(u?int(8|16|32|64)?|float(32|64)|complex(64|128))\>"
color green "\<(uintptr|byte|rune|string|interface|bool|map|chan|error)\>"
color cyan "\<(package|import|const|var|type|struct|func|go|defer|nil|iota)\>"
color cyan "\<(for|range|if|else|case|default|switch|return)\>"
color brightred "\<(go|goto|break|continue)\>"
color brightcyan "\<(true|false)\>"
color red "[-+/*=<>!~%&|^]|:="
color blue "\<([0-9]+|0x[0-9a-fA-F]*)\>|'.'"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color magenta "\\[abfnrtv'\"\\]"
color magenta "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
color yellow "`[^`]*`"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color cyan "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color white "[(]"
color cyan "\<(append|cap|close|complex|copy|delete|imag|len)\>"
color cyan "\<(make|new|panic|print|println|protect|real|recover)\>"
color blue "\<(u?int(8|16|32|64)?|float(32|64)|complex(64|128))\>"
color blue "\<(uintptr|byte|rune|string|interface|bool|map|chan|error)\>"
color red "\<(package|import|const|var|type|struct|func|go|defer|nil|iota)\>"
color red "\<(for|range|if|else|case|default|switch|return)\>"
color red "\<(go|goto|break|continue)\>"
color brightwhite "\<(true|false)\>"
color yellow "[-+/*=<>!~%&|^]|:="
color brightwhite "\<([0-9]+|0x[0-9a-fA-F]*)\>|'.'"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color yellow "\\[abfnrtv'\"\\]"
color yellow "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
color green "`[^`]*`"
color brightblack "(^|[[:space:]])//.*"
color brightblack start="^\s*/\*" end="\*/"
color brightwhite,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
color brightblack start="/\*" end="\*/"
comment "//"
color brightwhite,cyan "\<TODO\>:?"
color brightwhite,cyan "\<FIXME\>:?"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -43,3 +43,21 @@ color brightgreen "^(!|-|:|~|%|=|\*|\.).*"
# Comments
color white,blue "#.*"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -20,4 +20,22 @@ color cyan start="^/\*(\*)?" end="\*/"
color cyan start="\s/\*(\*)?" end="\*/"
# Trailing whitespace
color ,green "[[:space:]]+$"
color ,red "[[:space:]]+$"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,41 +1,255 @@
## HTML syntax highlighting rules for Nano
syntax "html" "\.html?$"
header "<!doctype html"
syntax "HTML" "\.html?(.j2)?(.twig)?$"
magic "HTML document"
comment "<!--|-->"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
## Emphasis tags
color brightwhite start="<([biu]|em|strong)[^>]*>" end="</([biu]|em|strong)>"
# Everything inside angle brackets is erroneous initially
# This will be fixed later by correct syntax
color brightyellow start="<" end=">"
# All ampersands are initially erroneous too
color brightyellow "&"
## Tags
color cyan start="<" end=">"
## Attributes
color brightblue "[[:space:]](abbr|accept(-charset)?|accesskey|action|[av]?link|alt|archive|axis|background|(bg)?color|border)="
color brightblue "[[:space:]](cell(padding|spacing)|char(off|set)?|checked|cite|class(id)?|compact|code(base|tag)?|cols(pan)?)="
color brightblue "[[:space:]](content(editable)?|contextmenu|coords|data|datetime|declare|defer|dir|enctype)="
color brightblue "[[:space:]](for|frame(border)?|headers|height|hidden|href(lang)?|hspace|http-equiv|id|ismap)="
color brightblue "[[:space:]](label|lang|longdesc|margin(height|width)|maxlength|media|method|multiple)="
color brightblue "[[:space:]](name|nohref|noresize|noshade|object|on(click|focus|load|mouseover|keypress)|profile|readonly|rel|rev)="
color brightblue "[[:space:]](rows(pan)?|rules|scheme|scope|scrolling|shape|size|span|src|standby|start|style|summary|pattern)="
color brightblue "[[:space:]](tabindex|target|text|title|type|usemap|v?align|value(type)?|vspace|width|xmlns|xml:space)="
color brightblue "[[:space:]](required|disabled|selected)[[:space:]=>]"
#
# Attributes
#
## Strings
color yellow ""(\\.|[^"])*""
# Explicitly-erroneous attributes
color brightyellow "[[:space:]]*\<(pubdate|seamless)[[:space:]]*([=>]|$)"
# Global attributes
color red "[[:space:]]*\<(accesskey|contenteditable|contextmenu|dir|draggable|dropzone|hidden|id|lang|spellcheck|style|tabindex|title|translate)[[:space:]]*([=>]|$)"
color red "[[:space:]]*\<[Dd][Aa][Tt][Aa]-[a-z0-9_.]+(-[a-z0-9_.]+)*[[:space:]]*([=>]|$)"
# Element-specific attributes
color red "[[:space:]]*\<(accept(-charset)?|action|alt|async|auto(complete|focus|play)|challenge|charset|checked|cite|class|(col|row)(s|span)|content|controls|coords|crossorigin|data|datetime|default|defer|dirname|disabled|download|enctype|for|form(action)?|headers|height|high|href(lang)?|http-equiv|icon|ismap|keytype|kind|label|list|loop|low|manifest|max(length)?|media|method|min|multiple|muted|name|novalidate|open|optimum|pattern|placeholder|poster|preload|radiogroup|readonly|rel|required|reversed|sandbox|scoped?|selected|shape|sizes?|span|src(doc|lang)?|start|step|target|type(mustmatch)?|usemap|value|width|wrap)[[:space:]]*([=>]|$)"
# Attributes deprecated / not supported in HTML5
color white "[[:space:]]*\<(align|bgcolor|border|color|mediagroup)[[:space:]]*([=>]|$)"
# Event attributes
color cyan "[[:space:]]*\<on(abort|afterprint|before(print|unload)|blur|canplay(through)?|(cue|duration|hash|rate|volume)?change|(dbl)?click|contextmenu|copy|cut|drag(end|enter|leave|over|start)?|drop|emptied|ended|error|focus|input|invalid|key(down|press|up)|load(ed(meta)?data|start)?|mouse(down|move|out|over|up|wheel)|(off|on)line|page(hide|show)|paste|pause|play(ing)?|popstate|progress|reset|resize|scroll|search|seek(ed|ing)|select|show|stalled|storage|submit|suspend|timeupdate|toggle|unload|waiting|wheel)[[:space:]]*(=|$)"
## Named character references and entities
color red "&#?[[:alnum:]]*;"
## Template strings (not in the HTML spec, but very commonly used)
color magenta "\{[^\}]*\}\}?"
color brightgreen "[[:space:]]((end)?if|(end)?for|in|not|(end)?block)[[:space:]]"
#
# Elements
#
## Comments
color green start="<!--" end="-->"
# Obsolete elements
color brightyellow "</?(bgsound|blink|command|eventsource|listing|nobr|plaintext|spacer|xmp)([[:space:]]+>?|>|[[:space:]]*$)"
# Normal elements valid in HTML5
color white "</?(a|abbr|address|article|aside|audio|b|bd[io]|blockquote|body|button|canvas|caption|cite|code|colgroup|datalist|d[dlt]|del|details|dfn|dialog|div|em|fieldset|figcaption|figure|footer|form|h[1-6]|head(er)?|hgroup|html|i|iframe|ins|kbd|label|legend|li|main|map|mark|menu|meter|nav|object|[ou]l|optgroup|option|output|p|pre|progress|q|r[pt]|ruby|s|samp|(no)?script|section|select|small|span|strong|style|su[bp]|summary|table|t(body|foot|head)|t[dhr]|template|textarea|time|title|u|var|video)([[:space:]]+>?|>|[[:space:]]*$)"
# Elements for which end tag is forbidden
color white "<(area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)([[:space:]]+>?|>|[[:space:]]*$)"
# Elements deprecated in HTML5
color white "</?(acronym|applet|big|center|content|dir|(base)?font|frame(set)?|isindex|marquee|noframes|shadow|strike|tt)([[:space:]]+>?|>|[[:space:]]*$)"
## Trailing spaces
color ,green "[[:space:]]+$"
#
# Strings and values
#
color green "=[[:space:]]*[]A-Za-z0-9!#$%()*+,./:;?@[\^_{|}~-][]A-Za-z0-9!"#$%'()*+,./:;?@[\^_{|}~-]*"
color yellow "="
# Make white spaces plain again
color white "[[:space:]]+"STRING: ""[^"]*"|'[^']*'"
color white start=">" end="<"
color white "[<>]"
## Reminders
color brightwhite,yellow "(FIXME|TODO|XXX)"
# Embedded template languages
color blue "\{\{[^}]*\}\}|<%=.*%>"
color red start="<\?" end="\?>"
color red start="<%[^=]" end="%>"
color red start="\{%" end="%\}"
#
# Finally, character references and comments
#
color brightyellow "&[A-Za-z][A-Za-z0-9]*;"
color brightblack start="<!--" end="-->"
color brightblack "<!(doctype|DOCTYPE)[^>]*>"
color brightred "&#([0-9]+|[Xx][0-9A-Fa-f]+);"
# This section for character entity references is generated automatically.
# See included generate-rules-for-web-highlighting.sh script file (found in the scripts/
# directory) for more info on how this process can be repeated should
# the list of character entities be changed in the future
color brightred "&(Aacute|aacute|Abreve|abreve|ac|acd|acE|Acirc|acirc|acute|Acy|acy|AElig|aelig|af|Afr|afr|Agrave|agrave);"
color brightred "&(alefsym|aleph|Alpha|alpha|Amacr|amacr|amalg|AMP|amp|And|and|andand|andd|andslope|andv|ang|ange|angle);"
color brightred "&(angmsd|angmsdaa|angmsdab|angmsdac|angmsdad|angmsdae|angmsdaf|angmsdag|angmsdah|angrt|angrtvb|angrtvbd);"
color brightred "&(angsph|angst|angzarr|Aogon|aogon|Aopf|aopf|ap|apacir|apE|ape|apid|apos|ApplyFunction|approx|approxeq);"
color brightred "&(Aring|aring|Ascr|ascr|Assign|ast|asymp|asympeq|Atilde|atilde|Auml|auml|awconint|awint|backcong);"
color brightred "&(backepsilon|backprime|backsim|backsimeq|Backslash|Barv|barvee|Barwed|barwed|barwedge|bbrk|bbrktbrk);"
color brightred "&(bcong|Bcy|bcy|bdquo|becaus|Because|because|bemptyv|bepsi|bernou|Bernoullis|Beta|beta|beth|between|Bfr);"
color brightred "&(bfr|bigcap|bigcirc|bigcup|bigodot|bigoplus|bigotimes|bigsqcup|bigstar|bigtriangledown|bigtriangleup);"
color brightred "&(biguplus|bigvee|bigwedge|bkarow|blacklozenge|blacksquare|blacktriangle|blacktriangledown);"
color brightred "&(blacktriangleleft|blacktriangleright|blank|blk12|blk14|blk34|block|bne|bnequiv|bNot|bnot|Bopf|bopf|bot);"
color brightred "&(bottom|bowtie|boxbox|boxDL|boxDl|boxdL|boxdl|boxDR|boxDr|boxdR|boxdr|boxH|boxh|boxHD|boxHd|boxhD|boxhd);"
color brightred "&(boxHU|boxHu|boxhU|boxhu|boxminus|boxplus|boxtimes|boxUL|boxUl|boxuL|boxul|boxUR|boxUr|boxuR|boxur|boxV);"
color brightred "&(boxv|boxVH|boxVh|boxvH|boxvh|boxVL|boxVl|boxvL|boxvl|boxVR|boxVr|boxvR|boxvr|bprime|Breve|breve|brvbar);"
color brightred "&(Bscr|bscr|bsemi|bsim|bsime|bsol|bsolb|bsolhsub|bull|bullet|bump|bumpE|bumpe|Bumpeq|bumpeq|Cacute);"
color brightred "&(cacute|Cap|cap|capand|capbrcup|capcap|capcup|capdot|CapitalDifferentialD|caps|caret|caron|Cayleys);"
color brightred "&(ccaps|Ccaron|ccaron|Ccedil|ccedil|Ccirc|ccirc|Cconint|ccups|ccupssm|Cdot|cdot|cedil|Cedilla|cemptyv);"
color brightred "&(cent|CenterDot|centerdot|Cfr|cfr|CHcy|chcy|check|checkmark|Chi|chi|cir|circ|circeq|circlearrowleft);"
color brightred "&(circlearrowright|circledast|circledcirc|circleddash|CircleDot|circledR|circledS|CircleMinus|CirclePlus);"
color brightred "&(CircleTimes|cirE|cire|cirfnint|cirmid|cirscir|ClockwiseContourIntegral|CloseCurlyDoubleQuote);"
color brightred "&(CloseCurlyQuote|clubs|clubsuit|Colon|colon|Colone|colone|coloneq|comma|commat|comp|compfn|complement);"
color brightred "&(complexes|cong|congdot|Congruent|Conint|conint|ContourIntegral|Copf|copf|coprod|Coproduct|COPY|copy);"
color brightred "&(copysr|CounterClockwiseContourIntegral|crarr|Cross|cross|Cscr|cscr|csub|csube|csup|csupe|ctdot|cudarrl);"
color brightred "&(cudarrr|cuepr|cuesc|cularr|cularrp|Cup|cup|cupbrcap|CupCap|cupcap|cupcup|cupdot|cupor|cups|curarr);"
color brightred "&(curarrm|curlyeqprec|curlyeqsucc|curlyvee|curlywedge|curren|curvearrowleft|curvearrowright|cuvee|cuwed);"
color brightred "&(cwconint|cwint|cylcty|Dagger|dagger|daleth|Darr|dArr|darr|dash|Dashv|dashv|dbkarow|dblac|Dcaron|dcaron);"
color brightred "&(Dcy|dcy|DD|dd|ddagger|ddarr|DDotrahd|ddotseq|deg|Del|Delta|delta|demptyv|dfisht|Dfr|dfr|dHar|dharl);"
color brightred "&(dharr|DiacriticalAcute|DiacriticalDot|DiacriticalDoubleAcute|DiacriticalGrave|DiacriticalTilde|diam);"
color brightred "&(Diamond|diamond|diamondsuit|diams|die|DifferentialD|digamma|disin|div|divide|divideontimes|divonx|DJcy);"
color brightred "&(djcy|dlcorn|dlcrop|dollar|Dopf|dopf|Dot|dot|DotDot|doteq|doteqdot|DotEqual|dotminus|dotplus|dotsquare);"
color brightred "&(doublebarwedge|DoubleContourIntegral|DoubleDot|DoubleDownArrow|DoubleLeftArrow|DoubleLeftRightArrow);"
color brightred "&(DoubleLeftTee|DoubleLongLeftArrow|DoubleLongLeftRightArrow|DoubleLongRightArrow|DoubleRightArrow);"
color brightred "&(DoubleRightTee|DoubleUpArrow|DoubleUpDownArrow|DoubleVerticalBar|DownArrow|Downarrow|downarrow);"
color brightred "&(DownArrowBar|DownArrowUpArrow|DownBreve|downdownarrows|downharpoonleft|downharpoonright);"
color brightred "&(DownLeftRightVector|DownLeftTeeVector|DownLeftVector|DownLeftVectorBar|DownRightTeeVector);"
color brightred "&(DownRightVector|DownRightVectorBar|DownTee|DownTeeArrow|drbkarow|drcorn|drcrop|Dscr|dscr|DScy|dscy);"
color brightred "&(dsol|Dstrok|dstrok|dtdot|dtri|dtrif|duarr|duhar|dwangle|DZcy|dzcy|dzigrarr|Eacute|eacute|easter|Ecaron);"
color brightred "&(ecaron|ecir|Ecirc|ecirc|ecolon|Ecy|ecy|eDDot|Edot|eDot|edot|ee|efDot|Efr|efr|eg|Egrave|egrave|egs);"
color brightred "&(egsdot|el|Element|elinters|ell|els|elsdot|Emacr|emacr|empty|emptyset|EmptySmallSquare|emptyv);"
color brightred "&(EmptyVerySmallSquare|emsp|emsp13|emsp14|ENG|eng|ensp|Eogon|eogon|Eopf|eopf|epar|eparsl|eplus|epsi);"
color brightred "&(Epsilon|epsilon|epsiv|eqcirc|eqcolon|eqsim|eqslantgtr|eqslantless|Equal|equals|EqualTilde|equest);"
color brightred "&(Equilibrium|equiv|equivDD|eqvparsl|erarr|erDot|Escr|escr|esdot|Esim|esim|Eta|eta|ETH|eth|Euml|euml);"
color brightred "&(euro|excl|exist|Exists|expectation|ExponentialE|exponentiale|fallingdotseq|Fcy|fcy|female|ffilig|fflig);"
color brightred "&(ffllig|Ffr|ffr|filig|FilledSmallSquare|FilledVerySmallSquare|fjlig|flat|fllig|fltns|fnof|Fopf|fopf);"
color brightred "&(ForAll|forall|fork|forkv|Fouriertrf|fpartint|frac12|frac13|frac14|frac15|frac16|frac18|frac23|frac25);"
color brightred "&(frac34|frac35|frac38|frac45|frac56|frac58|frac78|frasl|frown|Fscr|fscr|gacute|Gamma|gamma|Gammad);"
color brightred "&(gammad|gap|Gbreve|gbreve|Gcedil|Gcirc|gcirc|Gcy|gcy|Gdot|gdot|gE|ge|gEl|gel|geq|geqq|geqslant|ges);"
color brightred "&(gescc|gesdot|gesdoto|gesdotol|gesl|gesles|Gfr|gfr|Gg|gg|ggg|gimel|GJcy|gjcy|gl|gla|glE|glj|gnap);"
color brightred "&(gnapprox|gnE|gne|gneq|gneqq|gnsim|Gopf|gopf|grave|GreaterEqual|GreaterEqualLess|GreaterFullEqual);"
color brightred "&(GreaterGreater|GreaterLess|GreaterSlantEqual|GreaterTilde|Gscr|gscr|gsim|gsime|gsiml|GT|Gt|gt|gtcc);"
color brightred "&(gtcir|gtdot|gtlPar|gtquest|gtrapprox|gtrarr|gtrdot|gtreqless|gtreqqless|gtrless|gtrsim|gvertneqq|gvnE);"
color brightred "&(Hacek|hairsp|half|hamilt|HARDcy|hardcy|hArr|harr|harrcir|harrw|Hat|hbar|Hcirc|hcirc|hearts|heartsuit);"
color brightred "&(hellip|hercon|Hfr|hfr|HilbertSpace|hksearow|hkswarow|hoarr|homtht|hookleftarrow|hookrightarrow|Hopf);"
color brightred "&(hopf|horbar|HorizontalLine|Hscr|hscr|hslash|Hstrok|hstrok|HumpDownHump|HumpEqual|hybull|hyphen|Iacute);"
color brightred "&(iacute|ic|Icirc|icirc|Icy|icy|Idot|IEcy|iecy|iexcl|iff|Ifr|ifr|Igrave|igrave|ii|iiiint|iiint|iinfin);"
color brightred "&(iiota|IJlig|ijlig|Im|Imacr|imacr|image|ImaginaryI|imagline|imagpart|imath|imof|imped|Implies|in|incare);"
color brightred "&(infin|infintie|inodot|Int|int|intcal|integers|Integral|intercal|Intersection|intlarhk|intprod);"
color brightred "&(InvisibleComma|InvisibleTimes|IOcy|iocy|Iogon|iogon|Iopf|iopf|Iota|iota|iprod|iquest|Iscr|iscr|isin);"
color brightred "&(isindot|isinE|isins|isinsv|isinv|it|Itilde|itilde|Iukcy|iukcy|Iuml|iuml|Jcirc|jcirc|Jcy|jcy|Jfr|jfr);"
color brightred "&(jmath|Jopf|jopf|Jscr|jscr|Jsercy|jsercy|Jukcy|jukcy|Kappa|kappa|kappav|Kcedil|kcedil|Kcy|kcy|Kfr|kfr);"
color brightred "&(kgreen|KHcy|khcy|KJcy|kjcy|Kopf|kopf|Kscr|kscr|lAarr|Lacute|lacute|laemptyv|lagran|Lambda|lambda|Lang);"
color brightred "&(lang|langd|langle|lap|Laplacetrf|laquo|Larr|lArr|larr|larrb|larrbfs|larrfs|larrhk|larrlp|larrpl);"
color brightred "&(larrsim|larrtl|lat|lAtail|latail|late|lates|lBarr|lbarr|lbbrk|lbrace|lbrack|lbrke|lbrksld|lbrkslu);"
color brightred "&(Lcaron|lcaron|Lcedil|lcedil|lceil|lcub|Lcy|lcy|ldca|ldquo|ldquor|ldrdhar|ldrushar|ldsh|lE|le);"
color brightred "&(LeftAngleBracket|LeftArrow|Leftarrow|leftarrow|LeftArrowBar|LeftArrowRightArrow|leftarrowtail);"
color brightred "&(LeftCeiling|LeftDoubleBracket|LeftDownTeeVector|LeftDownVector|LeftDownVectorBar|LeftFloor);"
color brightred "&(leftharpoondown|leftharpoonup|leftleftarrows|LeftRightArrow|Leftrightarrow|leftrightarrow);"
color brightred "&(leftrightarrows|leftrightharpoons|leftrightsquigarrow|LeftRightVector|LeftTee|LeftTeeArrow);"
color brightred "&(LeftTeeVector|leftthreetimes|LeftTriangle|LeftTriangleBar|LeftTriangleEqual|LeftUpDownVector);"
color brightred "&(LeftUpTeeVector|LeftUpVector|LeftUpVectorBar|LeftVector|LeftVectorBar|lEg|leg|leq|leqq|leqslant|les);"
color brightred "&(lescc|lesdot|lesdoto|lesdotor|lesg|lesges|lessapprox|lessdot|lesseqgtr|lesseqqgtr|LessEqualGreater);"
color brightred "&(LessFullEqual|LessGreater|lessgtr|LessLess|lesssim|LessSlantEqual|LessTilde|lfisht|lfloor|Lfr|lfr|lg);"
color brightred "&(lgE|lHar|lhard|lharu|lharul|lhblk|LJcy|ljcy|Ll|ll|llarr|llcorner|Lleftarrow|llhard|lltri|Lmidot|lmidot);"
color brightred "&(lmoust|lmoustache|lnap|lnapprox|lnE|lne|lneq|lneqq|lnsim|loang|loarr|lobrk|LongLeftArrow|Longleftarrow);"
color brightred "&(longleftarrow|LongLeftRightArrow|Longleftrightarrow|longleftrightarrow|longmapsto|LongRightArrow);"
color brightred "&(Longrightarrow|longrightarrow|looparrowleft|looparrowright|lopar|Lopf|lopf|loplus|lotimes|lowast);"
color brightred "&(lowbar|LowerLeftArrow|LowerRightArrow|loz|lozenge|lozf|lpar|lparlt|lrarr|lrcorner|lrhar|lrhard|lrm);"
color brightred "&(lrtri|lsaquo|Lscr|lscr|Lsh|lsh|lsim|lsime|lsimg|lsqb|lsquo|lsquor|Lstrok|lstrok|LT|Lt|lt|ltcc|ltcir);"
color brightred "&(ltdot|lthree|ltimes|ltlarr|ltquest|ltri|ltrie|ltrif|ltrPar|lurdshar|luruhar|lvertneqq|lvnE|macr|male);"
color brightred "&(malt|maltese|Map|map|mapsto|mapstodown|mapstoleft|mapstoup|marker|mcomma|Mcy|mcy|mdash|mDDot);"
color brightred "&(measuredangle|MediumSpace|Mellintrf|Mfr|mfr|mho|micro|mid|midast|midcir|middot|minus|minusb|minusd);"
color brightred "&(minusdu|MinusPlus|mlcp|mldr|mnplus|models|Mopf|mopf|mp|Mscr|mscr|mstpos|Mu|mu|multimap|mumap|nabla);"
color brightred "&(Nacute|nacute|nang|nap|napE|napid|napos|napprox|natur|natural|naturals|nbsp|nbump|nbumpe|ncap|Ncaron);"
color brightred "&(ncaron|Ncedil|ncedil|ncong|ncongdot|ncup|Ncy|ncy|ndash|ne|nearhk|neArr|nearr|nearrow|nedot);"
color brightred "&(NegativeMediumSpace|NegativeThickSpace|NegativeThinSpace|NegativeVeryThinSpace|nequiv|nesear|nesim);"
color brightred "&(NestedGreaterGreater|NestedLessLess|NewLine|nexist|nexists|Nfr|nfr|ngE|nge|ngeq|ngeqq|ngeqslant|nges);"
color brightred "&(nGg|ngsim|nGt|ngt|ngtr|nGtv|nhArr|nharr|nhpar|ni|nis|nisd|niv|NJcy|njcy|nlArr|nlarr|nldr|nlE|nle);"
color brightred "&(nLeftarrow|nleftarrow|nLeftrightarrow|nleftrightarrow|nleq|nleqq|nleqslant|nles|nless|nLl|nlsim|nLt);"
color brightred "&(nlt|nltri|nltrie|nLtv|nmid|NoBreak|NonBreakingSpace|Nopf|nopf|Not|not|NotCongruent|NotCupCap);"
color brightred "&(NotDoubleVerticalBar|NotElement|NotEqual|NotEqualTilde|NotExists|NotGreater|NotGreaterEqual);"
color brightred "&(NotGreaterFullEqual|NotGreaterGreater|NotGreaterLess|NotGreaterSlantEqual|NotGreaterTilde);"
color brightred "&(NotHumpDownHump|NotHumpEqual|notin|notindot|notinE|notinva|notinvb|notinvc|NotLeftTriangle);"
color brightred "&(NotLeftTriangleBar|NotLeftTriangleEqual|NotLess|NotLessEqual|NotLessGreater|NotLessLess);"
color brightred "&(NotLessSlantEqual|NotLessTilde|NotNestedGreaterGreater|NotNestedLessLess|notni|notniva|notnivb|notnivc);"
color brightred "&(NotPrecedes|NotPrecedesEqual|NotPrecedesSlantEqual|NotReverseElement|NotRightTriangle);"
color brightred "&(NotRightTriangleBar|NotRightTriangleEqual|NotSquareSubset|NotSquareSubsetEqual|NotSquareSuperset);"
color brightred "&(NotSquareSupersetEqual|NotSubset|NotSubsetEqual|NotSucceeds|NotSucceedsEqual|NotSucceedsSlantEqual);"
color brightred "&(NotSucceedsTilde|NotSuperset|NotSupersetEqual|NotTilde|NotTildeEqual|NotTildeFullEqual|NotTildeTilde);"
color brightred "&(NotVerticalBar|npar|nparallel|nparsl|npart|npolint|npr|nprcue|npre|nprec|npreceq|nrArr|nrarr|nrarrc);"
color brightred "&(nrarrw|nRightarrow|nrightarrow|nrtri|nrtrie|nsc|nsccue|nsce|Nscr|nscr|nshortmid|nshortparallel|nsim);"
color brightred "&(nsime|nsimeq|nsmid|nspar|nsqsube|nsqsupe|nsub|nsubE|nsube|nsubset|nsubseteq|nsubseteqq|nsucc|nsucceq);"
color brightred "&(nsup|nsupE|nsupe|nsupset|nsupseteq|nsupseteqq|ntgl|Ntilde|ntilde|ntlg|ntriangleleft|ntrianglelefteq);"
color brightred "&(ntriangleright|ntrianglerighteq|Nu|nu|num|numero|numsp|nvap|nVDash|nVdash|nvDash|nvdash|nvge|nvgt);"
color brightred "&(nvHarr|nvinfin|nvlArr|nvle|nvlt|nvltrie|nvrArr|nvrtrie|nvsim|nwarhk|nwArr|nwarr|nwarrow|nwnear|Oacute);"
color brightred "&(oacute|oast|ocir|Ocirc|ocirc|Ocy|ocy|odash|Odblac|odblac|odiv|odot|odsold|OElig|oelig|ofcir|Ofr|ofr);"
color brightred "&(ogon|Ograve|ograve|ogt|ohbar|ohm|oint|olarr|olcir|olcross|oline|olt|Omacr|omacr|Omega|omega|Omicron);"
color brightred "&(omicron|omid|ominus|Oopf|oopf|opar|OpenCurlyDoubleQuote|OpenCurlyQuote|operp|oplus|Or|or|orarr|ord);"
color brightred "&(order|orderof|ordf|ordm|origof|oror|orslope|orv|oS|Oscr|oscr|Oslash|oslash|osol|Otilde|otilde|Otimes);"
color brightred "&(otimes|otimesas|Ouml|ouml|ovbar|OverBar|OverBrace|OverBracket|OverParenthesis|par|para|parallel|parsim);"
color brightred "&(parsl|part|PartialD|Pcy|pcy|percnt|period|permil|perp|pertenk|Pfr|pfr|Phi|phi|phiv|phmmat|phone|Pi|pi);"
color brightred "&(pitchfork|piv|planck|planckh|plankv|plus|plusacir|plusb|pluscir|plusdo|plusdu|pluse|PlusMinus|plusmn);"
color brightred "&(plussim|plustwo|pm|Poincareplane|pointint|Popf|popf|pound|Pr|pr|prap|prcue|prE|pre|prec|precapprox);"
color brightred "&(preccurlyeq|Precedes|PrecedesEqual|PrecedesSlantEqual|PrecedesTilde|preceq|precnapprox|precneqq);"
color brightred "&(precnsim|precsim|Prime|prime|primes|prnap|prnE|prnsim|prod|Product|profalar|profline|profsurf|prop);"
color brightred "&(Proportion|Proportional|propto|prsim|prurel|Pscr|pscr|Psi|psi|puncsp|Qfr|qfr|qint|Qopf|qopf|qprime);"
color brightred "&(Qscr|qscr|quaternions|quatint|quest|questeq|QUOT|quot|rAarr|race|Racute|racute|radic|raemptyv|Rang);"
color brightred "&(rang|rangd|range|rangle|raquo|Rarr|rArr|rarr|rarrap|rarrb|rarrbfs|rarrc|rarrfs|rarrhk|rarrlp|rarrpl);"
color brightred "&(rarrsim|Rarrtl|rarrtl|rarrw|rAtail|ratail|ratio|rationals|RBarr|rBarr|rbarr|rbbrk|rbrace|rbrack|rbrke);"
color brightred "&(rbrksld|rbrkslu|Rcaron|rcaron|Rcedil|rcedil|rceil|rcub|Rcy|rcy|rdca|rdldhar|rdquo|rdquor|rdsh|Re|real);"
color brightred "&(realine|realpart|reals|rect|REG|reg|ReverseElement|ReverseEquilibrium|ReverseUpEquilibrium|rfisht);"
color brightred "&(rfloor|Rfr|rfr|rHar|rhard|rharu|rharul|Rho|rho|rhov|RightAngleBracket|RightArrow|Rightarrow|rightarrow);"
color brightred "&(RightArrowBar|RightArrowLeftArrow|rightarrowtail|RightCeiling|RightDoubleBracket|RightDownTeeVector);"
color brightred "&(RightDownVector|RightDownVectorBar|RightFloor|rightharpoondown|rightharpoonup|rightleftarrows);"
color brightred "&(rightleftharpoons|rightrightarrows|rightsquigarrow|RightTee|RightTeeArrow|RightTeeVector);"
color brightred "&(rightthreetimes|RightTriangle|RightTriangleBar|RightTriangleEqual|RightUpDownVector|RightUpTeeVector);"
color brightred "&(RightUpVector|RightUpVectorBar|RightVector|RightVectorBar|ring|risingdotseq|rlarr|rlhar|rlm|rmoust);"
color brightred "&(rmoustache|rnmid|roang|roarr|robrk|ropar|Ropf|ropf|roplus|rotimes|RoundImplies|rpar|rpargt|rppolint);"
color brightred "&(rrarr|Rrightarrow|rsaquo|Rscr|rscr|Rsh|rsh|rsqb|rsquo|rsquor|rthree|rtimes|rtri|rtrie|rtrif|rtriltri);"
color brightred "&(RuleDelayed|ruluhar|rx|Sacute|sacute|sbquo|Sc|sc|scap|Scaron|scaron|sccue|scE|sce|Scedil|scedil|Scirc);"
color brightred "&(scirc|scnap|scnE|scnsim|scpolint|scsim|Scy|scy|sdot|sdotb|sdote|searhk|seArr|searr|searrow|sect|semi);"
color brightred "&(seswar|setminus|setmn|sext|Sfr|sfr|sfrown|sharp|SHCHcy|shchcy|SHcy|shcy|ShortDownArrow|ShortLeftArrow);"
color brightred "&(shortmid|shortparallel|ShortRightArrow|ShortUpArrow|shy|Sigma|sigma|sigmaf|sigmav|sim|simdot|sime);"
color brightred "&(simeq|simg|simgE|siml|simlE|simne|simplus|simrarr|slarr|SmallCircle|smallsetminus|smashp|smeparsl|smid);"
color brightred "&(smile|smt|smte|smtes|SOFTcy|softcy|sol|solb|solbar|Sopf|sopf|spades|spadesuit|spar|sqcap|sqcaps|sqcup);"
color brightred "&(sqcups|Sqrt|sqsub|sqsube|sqsubset|sqsubseteq|sqsup|sqsupe|sqsupset|sqsupseteq|squ|Square|square);"
color brightred "&(SquareIntersection|SquareSubset|SquareSubsetEqual|SquareSuperset|SquareSupersetEqual|SquareUnion);"
color brightred "&(squarf|squf|srarr|Sscr|sscr|ssetmn|ssmile|sstarf|Star|star|starf|straightepsilon|straightphi|strns|Sub);"
color brightred "&(sub|subdot|subE|sube|subedot|submult|subnE|subne|subplus|subrarr|Subset|subset|subseteq|subseteqq);"
color brightred "&(SubsetEqual|subsetneq|subsetneqq|subsim|subsub|subsup|succ|succapprox|succcurlyeq|Succeeds);"
color brightred "&(SucceedsEqual|SucceedsSlantEqual|SucceedsTilde|succeq|succnapprox|succneqq|succnsim|succsim|SuchThat);"
color brightred "&(Sum|sum|sung|Sup|sup|sup1|sup2|sup3|supdot|supdsub|supE|supe|supedot|Superset|SupersetEqual|suphsol);"
color brightred "&(suphsub|suplarr|supmult|supnE|supne|supplus|Supset|supset|supseteq|supseteqq|supsetneq|supsetneqq);"
color brightred "&(supsim|supsub|supsup|swarhk|swArr|swarr|swarrow|swnwar|szlig|Tab|target|Tau|tau|tbrk|Tcaron|tcaron);"
color brightred "&(Tcedil|tcedil|Tcy|tcy|tdot|telrec|Tfr|tfr|there4|Therefore|therefore|Theta|theta|thetasym|thetav);"
color brightred "&(thickapprox|thicksim|ThickSpace|thinsp|ThinSpace|thkap|thksim|THORN|thorn|Tilde|tilde|TildeEqual);"
color brightred "&(TildeFullEqual|TildeTilde|times|timesb|timesbar|timesd|tint|toea|top|topbot|topcir|Topf|topf|topfork);"
color brightred "&(tosa|tprime|TRADE|trade|triangle|triangledown|triangleleft|trianglelefteq|triangleq|triangleright);"
color brightred "&(trianglerighteq|tridot|trie|triminus|TripleDot|triplus|trisb|tritime|trpezium|Tscr|tscr|TScy|tscy);"
color brightred "&(TSHcy|tshcy|Tstrok|tstrok|twixt|twoheadleftarrow|twoheadrightarrow|Uacute|uacute|Uarr|uArr|uarr);"
color brightred "&(Uarrocir|Ubrcy|ubrcy|Ubreve|ubreve|Ucirc|ucirc|Ucy|ucy|udarr|Udblac|udblac|udhar|ufisht|Ufr|ufr|Ugrave);"
color brightred "&(ugrave|uHar|uharl|uharr|uhblk|ulcorn|ulcorner|ulcrop|ultri|Umacr|umacr|uml|UnderBar|UnderBrace);"
color brightred "&(UnderBracket|UnderParenthesis|Union|UnionPlus|Uogon|uogon|Uopf|uopf|UpArrow|Uparrow|uparrow|UpArrowBar);"
color brightred "&(UpArrowDownArrow|UpDownArrow|Updownarrow|updownarrow|UpEquilibrium|upharpoonleft|upharpoonright|uplus);"
color brightred "&(UpperLeftArrow|UpperRightArrow|Upsi|upsi|upsih|Upsilon|upsilon|UpTee|UpTeeArrow|upuparrows|urcorn);"
color brightred "&(urcorner|urcrop|Uring|uring|urtri|Uscr|uscr|utdot|Utilde|utilde|utri|utrif|uuarr|Uuml|uuml|uwangle);"
color brightred "&(vangrt|varepsilon|varkappa|varnothing|varphi|varpi|varpropto|vArr|varr|varrho|varsigma|varsubsetneq);"
color brightred "&(varsubsetneqq|varsupsetneq|varsupsetneqq|vartheta|vartriangleleft|vartriangleright|Vbar|vBar|vBarv|Vcy);"
color brightred "&(vcy|VDash|Vdash|vDash|vdash|Vdashl|Vee|vee|veebar|veeeq|vellip|Verbar|verbar|Vert|vert|VerticalBar);"
color brightred "&(VerticalLine|VerticalSeparator|VerticalTilde|VeryThinSpace|Vfr|vfr|vltri|vnsub|vnsup|Vopf|vopf|vprop);"
color brightred "&(vrtri|Vscr|vscr|vsubnE|vsubne|vsupnE|vsupne|Vvdash|vzigzag|Wcirc|wcirc|wedbar|Wedge|wedge|wedgeq);"
color brightred "&(weierp|Wfr|wfr|Wopf|wopf|wp|wr|wreath|Wscr|wscr|xcap|xcirc|xcup|xdtri|Xfr|xfr|xhArr|xharr|Xi|xi|xlArr);"
color brightred "&(xlarr|xmap|xnis|xodot|Xopf|xopf|xoplus|xotime|xrArr|xrarr|Xscr|xscr|xsqcup|xuplus|xutri|xvee|xwedge);"
color brightred "&(Yacute|yacute|YAcy|yacy|Ycirc|ycirc|Ycy|ycy|yen|Yfr|yfr|YIcy|yicy|Yopf|yopf|Yscr|yscr|YUcy|yucy|Yuml);"
color brightred "&(yuml|Zacute|zacute|Zcaron|zcaron|Zcy|zcy|Zdot|zdot|zeetrf|ZeroWidthSpace|Zeta|zeta|Zfr|zfr|ZHcy|zhcy);"
color brightred "&(zigrarr|Zopf|zopf|Zscr|zscr|zwj|zwnj);"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,11 +1,32 @@
syntax "INI" "\.(ini|desktop|lfl|override|cfg)$" "(mimeapps\.list|pinforc|setup\.cfg)$" "weechat/.+\.conf$"
syntax "ini" "\.(ini|desktop|lfl|override)$" "(mimeapps\.list|pinforc|setup\.cfg)$" "weechat/.+\.conf$"
header "^\[[A-Za-z]+\]$"
color brightcyan "\<(true|false)\>"
color cyan "^[[:space:]]*[^=]*="
color brightmagenta "^[[:space:]]*\[.*\]$"
color red "[=;]"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblue "(^|[[:space:]])(#([^{].*)?|;.*)$"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color brightwhite "\<(true|false)\>"
color red "^[[:space:]]*[^=]*="
color red "^[[:space:]]*\[.*\]$"
color yellow "[=;]"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblack "(^|[[:space:]])#([^{].*)?$"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,10 +1,31 @@
syntax "Inputrc" "inputrc$"
syntax "inputrc" "inputrc$"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
color red "\<(off|none)\>"
color green "\<on\>"
color brightblue "\<set|\$include\>"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color magenta "\\.?"
color cyan "\<set|\$include\>"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color yellow "\\.?"
color brightblack "(^|[[:space:]])#([^{].*)?$"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,22 +1,52 @@
## Here is an example for Java.
##
syntax "Java" "\.java$"
magic "Java "
syntax "java" "\.java$"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.
color white "^.*$"
# Class
color red "class +[A-Za-z0-9]+ *((implements|extends) +[A-Za-z0-9.]+)?"
# Annotation
color yellow "@[A-Za-z]+"
color cyan "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
color white "[(]"
color blue "\<(boolean|byte|char|double|float|int|long|short|String|void)\>"
color red "\<(case|catch|default|do|else|finally|for|if)\>"
color red "\<(new|return|switch|this|throw|transient|try|while)\>"
color red "\<(abstract|class|extends|final|implements|import|instanceof)\>"
color red "\<(interface|native|package|private|protected|public|static)\>"
color red "\<(strictfp|super|synchronized|throws|volatile|null)\>"
color red "\<(break|continue)\>"
color brightwhite "\<(true|false)\>"
color yellow "[-+/*=<>?:!~%&|]"
color brightwhite "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
color yellow "\\([btnfr]|'|\"|\\)"
color yellow "\\u[A-Fa-f0-9]{4}"
color brightblack "(^|[[:space:]])//.*"
color brightblack start="/\*" end="\*/"
comment "//"
color brightwhite,cyan "\<TODO\>:?"
color brightwhite,cyan "\<FIXME\>:?"
color ,red "[[:space:]]+$"
color brightyellow " + +| + +"
color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
color red ""[^"]*""
color yellow "\<(true|false|null)\>"
icolor yellow "\b(([1-9][0-9]+)|0+)\.[0-9]+\b" "\b[1-9][0-9]*\b" "\b0[0-7]*\b" "\b0x[1-9a-f][0-9a-f]*\b"
color blue "//.*"
color blue start="^\s*/\*" end="\*/"
color brightblue start="/\*\*" end="\*/"
# Highlighting for javadoc stuff
color magenta "@param [a-zA-Z_][a-z0-9A-Z_]+"
color magenta "@return"
color magenta "@author.*"
color ,green "[[:space:]]+$"
# rainbow indent
color ,brightblack "^[[:space:]]{32}"
color ,black "^[[:space:]]{30}"
color ,brightblack "^[[:space:]]{28}"
color ,black "^[[:space:]]{26}"
color ,brightblack "^[[:space:]]{24}"
color ,black "^[[:space:]]{22}"
color ,brightblack "^[[:space:]]{20}"
color ,black "^[[:space:]]{18}"
color ,brightblack "^[[:space:]]{16}"
color ,black "^[[:space:]]{14}"
color ,brightblack "^[[:space:]]{12}"
color ,black "^[[:space:]]{10}"
color ,brightblack "^[[:space:]]{8}"
color ,black "^[[:space:]]{6}"
color ,brightblack "^[[:space:]]{4}"
color ,black "^[[:space:]]{2}"

View File

@ -1,25 +1,59 @@
syntax "JavaScript" "\.(js|ts)$"
syntax "JavaScript" "\.js$"
# Resets everything back to plain text coloring.
# Can be used at the start of each theme file.