mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-16 22:10:26 +00:00
improve Rust raw string literal highlighting (#3192)
This commit is contained in:
parent
4895a29be2
commit
f15db6aa30
1 changed files with 17 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue