87f54be13a
Use the 'regexp2' library for lookahead and lookbehind in region start and end regular expressions to support things like closing quotes that aren't preceded by backslashes.
17 lines
219 B
YAML
17 lines
219 B
YAML
filetype: conf
|
|
|
|
detect:
|
|
filename: "\\.c[o]?nf$"
|
|
|
|
rules:
|
|
- constant.string:
|
|
start: "\""
|
|
end: "(?<!\\\\)\""
|
|
rules: []
|
|
|
|
- comment:
|
|
start: "#"
|
|
end: "$"
|
|
rules: []
|
|
|