mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-09 08:30:23 +09:00
* Added title setting (Requires tcell pull!) and optimized tab display. * Added Clojure highlighting. * Changed tcell call to screen. * Fixed bad reference for getting Buffer name. * Yet another massive syntax overhaul * Tweaking and testing web syntax * More webdev goodies * Added html5 highlighting and strict html4 highlighting. * Documentation update
15 lines
663 B
Plaintext
15 lines
663 B
Plaintext
syntax "json" "\.json$"
|
|
header "^\{$"
|
|
|
|
color constant.number "\b[\-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\b"
|
|
color constant.number "\b[\-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+\-]?[0-9]+)?[fFlL]?"
|
|
color constant.number "\b[\-+]?([0-9]+[EePp][+\-]?[0-9]+)[fFlL]?"
|
|
color constant.bool "\b(null)\b"
|
|
color constant.bool.true "\b(true)\b"
|
|
color constant.bool.false "\b(false)\b"
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color statement "\"(\\"|[^"])*\"[[:space:]]*:" "'(\'|[^'])*'[[:space:]]*:"
|
|
color constant "\\u[0-9a-fA-F]{4}|\\[bfnrt'"/\\]"
|
|
color indent-char.whitespace "[[:space:]]+$"
|
|
color indent-char " + +| + +"
|