Fix syntax highlighting of single-quoted strings (#2425)

This commit is contained in:
Lars Müller
2022-05-15 22:00:29 +02:00
committed by GitHub
parent db3afc1c0d
commit 176d1aa17a

View File

@@ -38,6 +38,12 @@ rules:
skip: "\\\\."
rules:
- constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
- constant.string:
start: "\'"
end: "\'"
skip: "\\\\."
rules:
- constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
- symbol.brackets: "(\\[|\\]|\\{|\\}|[()])"
- comment: "(^|[[:space:]])//.*"
- comment: "(^|[[:space:]])#.*"