Many optimizations and new syntax files

This commit is contained in:
Zachary Yedidia
2017-03-26 19:14:03 -04:00
parent 56f3992cdb
commit 084c2be66c
103 changed files with 2079 additions and 342 deletions
+13
View File
@@ -0,0 +1,13 @@
filetype: mpd
detect:
filename: "mpd\\.conf$"
rules:
- statement: "\\b(user|group|bind_to_address|host|port|plugin|name|type)\\b"
- statement: "\\b((music|playlist)_directory|(db|log|state|pid|sticker)_file)\\b"
- special: "^(input|audio_output|decoder)[[:space:]]*\\{|\\}"
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
- comment: "(^|[[:space:]])#([^{].*)?$"
- indent-char.whitespace: "[[:space:]]+$"
- indent-char: " + +| + +"