aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirawi2024-01-09 00:56:51 +0000
committerGitHub2024-01-09 00:56:51 +0000
commit7af78c7788eb0ab711df812fcdba44fc8742d7ca (patch)
treeead68e32d1ae7121f4c523151710903164c503e8
parent48c49f02278712f20235f3ba3912fba9e55b8ebb (diff)
update comment grammar (#9253)
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/comment/highlights.scm2
2 files changed, 3 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 81f7974d..2a0efb49 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 9583f9c5..4cefcdf7 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