We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e803dba commit 4c55f3cCopy full SHA for 4c55f3c
src/features/semantic_tokens/math_delimiter.rs
@@ -11,7 +11,7 @@ pub(super) fn find(context: Context, builder: &mut TokenBuilder) -> Option<()> {
11
.as_node()?
12
.descendants_with_tokens()
13
.filter_map(|elem| elem.into_token())
14
- .filter(|token| token.kind() == latex::DOLLAR)
+ .filter(|token| token.kind() == latex::DOLLAR && token.text() == "$$")
15
{
16
builder.push(Token {
17
range: token.text_range(),
0 commit comments