mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-28 18:00:23 +09:00
improve Rust raw string literal highlighting (#3192)
This commit is contained in:
@@ -29,8 +29,23 @@ rules:
|
||||
- constant.specialChar: '\\.'
|
||||
|
||||
- constant.string:
|
||||
start: "r#+\""
|
||||
end: "\"#+"
|
||||
start: "r#\""
|
||||
end: "\"#"
|
||||
rules: []
|
||||
|
||||
- constant.string:
|
||||
start: "r##\""
|
||||
end: "\"##"
|
||||
rules: []
|
||||
|
||||
- constant.string:
|
||||
start: "r###\""
|
||||
end: "\"###"
|
||||
rules: []
|
||||
|
||||
- constant.string:
|
||||
start: "r####+\""
|
||||
end: "\"####+"
|
||||
rules: []
|
||||
|
||||
# Character literals
|
||||
|
||||
Reference in New Issue
Block a user