Improve matching for string tokens
This commit is contained in:
parent
a8a5b9524d
commit
40a95221ea
11 changed files with 718 additions and 0 deletions
|
@ -172,6 +172,10 @@ impl ZedSyntaxToken {
|
|||
| ZedSyntaxToken::PunctuationDelimiter
|
||||
| ZedSyntaxToken::PunctuationListMarker
|
||||
| ZedSyntaxToken::PunctuationSpecial => &[ZedSyntaxToken::Punctuation],
|
||||
ZedSyntaxToken::StringEscape
|
||||
| ZedSyntaxToken::StringRegex
|
||||
| ZedSyntaxToken::StringSpecial
|
||||
| ZedSyntaxToken::StringSpecialSymbol => &[ZedSyntaxToken::String],
|
||||
_ => &[],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue