runtime/syntax/mpdconf.yaml
raw| 1 | filetype: mpd |
| 2 | |
| 3 | detect: |
| 4 | filename: "mpd\\.conf$" |
| 5 | |
| 6 | rules: |
| 7 | - statement: "\\b(user|group|bind_to_address|host|port|plugin|name|type)\\b" |
| 8 | - statement: "\\b((music|playlist)_directory|(db|log|state|pid|sticker)_file)\\b" |
| 9 | - special: "^(input|audio_output|decoder)[[:space:]]*\\{|\\}" |
| 10 | - constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'" |
| 11 | - comment: "(^|[[:space:]])#([^{].*)?$" |
| 12 | - indent-char.whitespace: "[[:space:]]+$" |
| 13 | - indent-char: " + +| + +" |