]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/ini.micro
Merge pull request #447 from samdmarshall/objective-c-syntax
[micro.git] / runtime / syntax / ini.micro
index e30825c85823d175d89558ced5a0f6685bdd5ac1..edc26251bc6404716206dbc229f0c08bc18239eb 100644 (file)
@@ -1,11 +1,9 @@
-syntax "INI" "\.(ini|desktop|lfl|override)$" "(mimeapps\.list|pinforc|setup\.cfg)$" "weechat/.+\.conf$"
+syntax "ini" "\.(ini|desktop|lfl|override)$" "(mimeapps\.list|pinforc|setup\.cfg)$" "weechat/.+\.conf$"
 header "^\[[A-Za-z]+\]$"
 
-color brightcyan "\<(true|false)\>"
-color cyan "^[[:space:]]*[^=]*="
-color brightmagenta "^[[:space:]]*\[.*\]$"
-color red "[=;]"
-color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
-color brightblack "(^|[[:space:]])#([^{].*)?$"
-color ,green "[[:space:]]+$"
-color ,red "   + +| +  +"
+color constant "\b(true|false)\b"
+color identifier "^[[:space:]]*[^=]*="
+color special "^[[:space:]]*\[.*\]$"
+color statement "[=;]"
+color comment "(^|[[:space:]])#([^{].*)?$"
+color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"