]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/micro.micro
Add gruvbox truecolor colorscheme (#530)
[micro.git] / runtime / syntax / micro.micro
index f445d9eba3dbd67b19a19a1b81cd7035d3a839e4..481b31046d9ba561999fdb5aa90c723907b86bc3 100644 (file)
@@ -1,10 +1,13 @@
 # Micro syntax by <nickolay02@inbox.ru>
 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 constant.string ""(\\.|[^"])*""
+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"
 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 comment "#.*$"
+
+color constant.string ""(\\.|[^"])*""
+color constant.number "#[0-9 A-F a-f]+"