Fix ini comment highlighting

Fixes #1094
This commit is contained in:
Zachary Yedidia 2018-05-12 21:29:02 -04:00
parent 53e142fb88
commit 3c01947cb3
2 changed files with 42 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -10,5 +10,15 @@ rules:
- identifier: "^[[:space:]]*[^=]*="
- special: "^[[:space:]]*\\[.*\\]$"
- statement: "[=;]"
- comment: "(^|[[:space:]])#([^{].*)?$"
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
- comment:
start: "#"
end: "$"
rules:
- todo: "(TODO|XXX|FIXME):?"
- comment:
start: ";"
end: "$"
rules:
- todo: "(TODO|XXX|FIXME):?"