update comment grammar (#9253)

This commit is contained in:
Kirawi 2024-01-08 19:56:51 -05:00 committed by GitHub
parent 48c49f0227
commit 7af78c7788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -1282,7 +1282,7 @@ injection-regex = "comment"
[[grammar]] [[grammar]]
name = "comment" 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]] [[language]]
name = "wgsl" name = "wgsl"

View file

@ -44,3 +44,5 @@
; User mention (@user) ; User mention (@user)
("text" @tag ("text" @tag
(#match? @tag "^[@][a-zA-Z0-9_-]+$")) (#match? @tag "^[@][a-zA-Z0-9_-]+$"))
(uri) @markup.link.url