diff --git a/runtime/syntax/micro.micro b/runtime/syntax/micro.micro index bfed9dc5..56546c91 100644 --- a/runtime/syntax/micro.micro +++ b/runtime/syntax/micro.micro @@ -1,10 +1,13 @@ # Micro syntax by syntax "micro" "\.(micro)$" -color statement "\b(syntax|color|color-link)\b" +color statement "\b(syntax|color(-link)?)\b" color statement "\b(start=|end=)\b" -color identifier "\b(default|comment|identifier|constant|constant|string|constant|number|statement|preproc|type|special|underlined|error|todo|statusline|indent-char|line=number|gutter-error|gutter-warning|cursor-line)\b" +color identifier "\b(default|comment|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" 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 "#.*$" + color constant.string ""(\\.|[^"])*"" -color comment "#.*" +color constant.number "#[0-9 A-F a-f]+"