From f93c6d33ece185854c37b2289c34d50ebbb5e390 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Thu, 10 Aug 2023 11:19:20 +0200 Subject: [PATCH] Syntax: Apply changes from ST's Markdown --- syntaxes/Markdown.sublime-syntax | 4 ++-- tests/syntax_test_markdown.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/syntaxes/Markdown.sublime-syntax b/syntaxes/Markdown.sublime-syntax index 022a95d9..3308d860 100644 --- a/syntaxes/Markdown.sublime-syntax +++ b/syntaxes/Markdown.sublime-syntax @@ -1351,7 +1351,7 @@ contexts: ((?i:makefile)) {{fenced_code_block_trailing_infostring_characters}} captures: - 0: meta.code-fence.definition.begin.markdown-gfm + 0: meta.code-fence.definition.begin.makefile.markdown-gfm 2: punctuation.definition.raw.code-fence.begin.markdown 5: constant.other.language-name.markdown embed: scope:source.makefile @@ -1360,7 +1360,7 @@ contexts: source.makefile escape: '{{fenced_code_block_escape}}' escape_captures: - 0: meta.code-fence.definition.end.markdown-gfm + 0: meta.code-fence.definition.end.makefile.markdown-gfm 1: punctuation.definition.raw.code-fence.end.markdown fenced-matlab: diff --git a/tests/syntax_test_markdown.md b/tests/syntax_test_markdown.md index 9cb0d75b..d734fa8c 100644 --- a/tests/syntax_test_markdown.md +++ b/tests/syntax_test_markdown.md @@ -1642,8 +1642,8 @@ for (var i = 0; i < 10; i++) { | <- markup.raw.code-fence.makefile.markdown-gfm source.makefile ``` -| <- meta.code-fence.definition.end.markdown-gfm punctuation.definition.raw.code-fence.end.markdown -|^^ meta.code-fence.definition.end.markdown-gfm punctuation.definition.raw.code-fence.end.markdown +| <- meta.code-fence.definition.end.makefile.markdown-gfm punctuation.definition.raw.code-fence.end.markdown +|^^ meta.code-fence.definition.end.makefile.markdown-gfm punctuation.definition.raw.code-fence.end.markdown ```matlab