micro/runtime/syntax/micro.micro

14 lines
594 B
Text
Raw Normal View History

2016-08-31 12:19:45 +00:00
# Micro syntax by <nickolay02@inbox.ru>
syntax "micro" "\.(micro)$"
color statement "\b(syntax|color(-link)?)\b"
2016-08-31 12:19:45 +00:00
color statement "\b(start=|end=)\b"
color identifier "\b(default|comment|symbol|identifier|constant(.string(.char)?|.number)?|statement|preproc|type|special|underlined|error|todo|statusline|indent-char|(current-)?line-number|gutter-error|gutter-warning|cursor-line|color-column)\b"
2016-08-31 12:19:45 +00:00
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 "#.*$"
2016-08-31 14:50:09 +00:00
color constant.string ""(\\.|[^"])*""
color constant.number "#[0-9 A-F a-f]+"