filetype: conf
-detect:
+detect:
filename: "\\.c[o]?nf$"
rules:
- - constant.string: "\"(\\\\.|[^\"])*\""
- - comment: "^[[:space:]]*#.*$"
- - comment: "^[[:space:]]*##.*$"
+ - constant.string:
+ start: "\""
+ end: "\""
+ skip: "\\\\."
+ rules: []
+
+ - comment:
+ start: "#"
+ end: "$"
+ rules: []
+