2017-03-21 21:55:22 +03:00
|
|
|
filetype: ini
|
|
|
|
|
2018-09-29 13:10:04 +03:00
|
|
|
detect:
|
|
|
|
filename: "\\.(ini|desktop|lfl|override|tscn|tres)$|(mimeapps\\.list|pinforc|setup\\.cfg|project\\.godot)$|weechat/.+\\.conf$"
|
2017-03-21 21:55:22 +03:00
|
|
|
|
|
|
|
rules:
|
|
|
|
- constant.bool.true: "\\btrue\\b"
|
|
|
|
- constant.bool.false: "\\bfalse\\b"
|
|
|
|
- identifier: "^[[:space:]]*[^=]*="
|
|
|
|
- special: "^[[:space:]]*\\[.*\\]$"
|
|
|
|
- statement: "[=;]"
|
|
|
|
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
|
2018-05-13 04:29:02 +03:00
|
|
|
|
|
|
|
- comment:
|
|
|
|
start: "#"
|
|
|
|
end: "$"
|
|
|
|
rules:
|
|
|
|
- todo: "(TODO|XXX|FIXME):?"
|
|
|
|
- comment:
|
|
|
|
start: ";"
|
|
|
|
end: "$"
|
|
|
|
rules:
|
|
|
|
- todo: "(TODO|XXX|FIXME):?"
|