]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/mpdconf.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / mpdconf.yaml
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: "    + +| +  +"