micro/runtime/syntax/mpdconf.yaml

14 lines
473 B
YAML
Raw Normal View History

2017-03-21 21:55:22 +03:00
filetype: mpd
detect:
2017-03-21 21:55:22 +03:00
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: " + +| + +"