Skip to content

Commit f1705ea

Browse files
kirawidgkf
authored andcommitted
update comment grammar (helix-editor#9253)
1 parent b79f5b7 commit f1705ea

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ injection-regex = "comment"
12821282

12831283
[[grammar]]
12841284
name = "comment"
1285-
source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "a37ca370310ac6f89b6e0ebf2b86b2219780494e" }
1285+
source = { git = "https://github.com/stsewd/tree-sitter-comment", rev = "aefcc2813392eb6ffe509aa0fc8b4e9b57413ee1" }
12861286

12871287
[[language]]
12881288
name = "wgsl"

runtime/queries/comment/highlights.scm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@
4444
; User mention (@user)
4545
("text" @tag
4646
(#match? @tag "^[@][a-zA-Z0-9_-]+$"))
47+
48+
(uri) @markup.link.url

0 commit comments

Comments
 (0)