improve Rust raw string literal highlighting (#3192)

This commit is contained in:
Mikko 2024-03-21 22:34:54 +02:00 committed by GitHub
parent 4895a29be2
commit f15db6aa30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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