From 77ed588c2d95ca86bbd18357bcdf6167f0bcc3ee Mon Sep 17 00:00:00 2001 From: Josiah Dahl <105243742+pdm-jd@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:47:38 -0800 Subject: [PATCH] fix: hightlighting breaks after single line doc (#92) * fix: hightlighting breaks after single line doc --- syntaxes/elixir.json | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/syntaxes/elixir.json b/syntaxes/elixir.json index 5f7c3a7..e2f1673 100644 --- a/syntaxes/elixir.json +++ b/syntaxes/elixir.json @@ -154,26 +154,13 @@ "begin": "@(?:module|type)?doc \"", "comment": "@doc with string is treated as documentation", "end": "\"", - "name": "documentation.string", - "beginCaptures": { - "0": { - "name": "comment" - } - }, - "endCaptures": { - "0": { - "name": "comment" - } - }, + "name": "comment.documentation.string", "patterns": [ { "include": "#interpolated_elixir" }, { "include": "#escaped_char" - }, - { - "include": "text.html.markdown" } ] },