From 98847ddb0b3ec9f4fb4ed8ec90fa13a4d03ed728 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Fri, 26 Apr 2024 19:05:10 +0200 Subject: [PATCH] Syntax: More lazy latex tests Avoid issues with upcoming core LaTeX syntax changes --- tests/syntax_test_markdown.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/syntax_test_markdown.md b/tests/syntax_test_markdown.md index 0574821c..0e1a07c7 100644 --- a/tests/syntax_test_markdown.md +++ b/tests/syntax_test_markdown.md @@ -8579,21 +8579,21 @@ $$ foo = 1 + 2 * \sqrt{a^2+b^2} | <- markup.math.block.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar variable.other.math |^^^^^^^^^^^^^^^^^^^^^^^^^^^^ markup.math.block.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar -| ^ keyword.operator.math -| ^ constant.numeric.math -| ^ keyword.operator.math -| ^ constant.numeric.math -| ^ keyword.operator.math +| ^ keyword.operator +| ^ constant.numeric +| ^ keyword.operator +| ^ constant.numeric +| ^ keyword.operator | ^^^^^ support.function.math | ^^^^^^^^^ meta.group.brace | ^ punctuation.definition.group.brace.begin | ^ variable.other.math -| ^ keyword.operator.math -| ^ constant.numeric.math -| ^ keyword.operator.math +| ^ keyword.operator +| ^ constant.numeric +| ^ keyword.operator | ^ variable.other.math -| ^ keyword.operator.math -| ^ constant.numeric.math +| ^ keyword.operator +| ^ constant.numeric | ^ punctuation.definition.group.brace.end $$ | <- markup.math.block.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar punctuation.definition.math.end @@ -8711,9 +8711,9 @@ Math $1+1$ setext heading This is math $1+1$ expression, but $ 1+1 $ ,$ 1+1$, $1+1 $ and 1+1$ or $1+1 are not. | ^^^^^ meta.paragraph.markdown markup.math.inline.markdown text.tex.latex.embedded.markdown meta.environment.math.block.dollar | ^ punctuation.definition.math.begin -| ^ constant.numeric.math -| ^ keyword.operator.math -| ^ constant.numeric.math +| ^ constant.numeric +| ^ keyword.operator +| ^ constant.numeric | ^ punctuation.definition.math.end | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.paragraph.markdown - markup.math