From 6908a452b410b83d920e143ef0e78d5cfcdbda2b Mon Sep 17 00:00:00 2001 From: Kirawi <67773714+kirawi@users.noreply.github.com> Date: Fri, 5 Jan 2024 14:36:46 -0500 Subject: [PATCH] update comment grammar --- languages.toml | 2 +- runtime/queries/comment/highlights.scm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index a013dab8ce47..0d887a8c782e 100644 --- a/languages.toml +++ b/languages.toml @@ -1282,7 +1282,7 @@ injection-regex = "comment" [[grammar]] name = "comment" -source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "a37ca370310ac6f89b6e0ebf2b86b2219780494e" } +source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "aefcc2813392eb6ffe509aa0fc8b4e9b57413ee1" } [[language]] name = "wgsl" diff --git a/runtime/queries/comment/highlights.scm b/runtime/queries/comment/highlights.scm index 9583f9c53414..4cefcdf74d8d 100644 --- a/runtime/queries/comment/highlights.scm +++ b/runtime/queries/comment/highlights.scm @@ -44,3 +44,5 @@ ; User mention (@user) ("text" @tag (#match? @tag "^[@][a-zA-Z0-9_-]+$")) + +(uri) @markup.link.url