d949b58fc0
* 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
20 lines
867 B
Text
20 lines
867 B
Text
# Micro syntax by <nickolay02@inbox.ru>
|
|
syntax "micro" "\.(micro)$"
|
|
|
|
color statement "\b(syntax|color(-link)?)\b"
|
|
color type.keyword "\b(start=|end=)\b"
|
|
color identifier "\b(default|comment|symbol(.brackets|.tag)?|identifier|constant(.string(.char)?|.bool|.specialChar|.number)?|statement|preproc|type|special|underlined|error|todo|statusline|indent-char|(current-)?line-number|gutter-error|gutter-warning|cursor-line|color-column|tabbar)\b"
|
|
color preproc "\b(syntax|header)\b"
|
|
color constant.number "\b(|h|A|0x)+[0-9]+(|h|A)+\b"
|
|
color constant.number "\b0x[0-9 a-f A-F]+\b"
|
|
|
|
color comment "#.*$"
|
|
#For better reverse compatibility with nanorc converted files.
|
|
color comment.bright "##.*$"
|
|
|
|
color constant.string ""(\\.|[^"])*""
|
|
color constant.number "#[0-9 A-F a-f]{1,6}"
|
|
|
|
#Fixed highlighting the first few digits of a full line comment as hex.
|
|
color comment "^#.*$"
|