mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 22:07:09 +09:00
Fix syntax highlighting of single-quoted strings (#2425)
This commit is contained in:
@@ -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:]])#.*"
|
||||
|
||||
Reference in New Issue
Block a user