From 243a2943dbbfd5c18e9aebf102a9c612dac6dca5 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Sat, 23 Nov 2024 07:58:20 +0000 Subject: [PATCH] feat: change comment string for mdx files --- languages.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/languages.toml b/languages.toml index 0acb7f420..c6d340f19 100644 --- a/languages.toml +++ b/languages.toml @@ -1623,6 +1623,11 @@ block-comment-tokens = { start = "" } name = "markdown" source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown" } +[[language]] +name = "markdown" +file-types = [ "mdx" ] +block-comment-tokens = { start = "{/*", end = "*/}" } + [[language]] name = "markdown.inline" scope = "source.markdown.inline"