Add converted syntax files

This commit is contained in:
Zachary Yedidia
2017-03-21 14:55:22 -04:00
parent fa7f89a400
commit b977bf5cca
104 changed files with 1807 additions and 1233 deletions

14
runtime/syntax/ini.yaml Normal file
View File

@@ -0,0 +1,14 @@
filetype: ini
detect:
filename: "\\.(ini|desktop|lfl|override)$|(mimeapps\\.list|pinforc|setup\\.cfg)$|weechat/.+\\.conf$"
header: "^\\[[A-Za-z]+\\]$"
rules:
- constant.bool.true: "\\btrue\\b"
- constant.bool.false: "\\bfalse\\b"
- identifier: "^[[:space:]]*[^=]*="
- special: "^[[:space:]]*\\[.*\\]$"
- statement: "[=;]"
- comment: "(^|[[:space:]])#([^{].*)?$"
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"