update comment grammar (#9253)

pull/9291/head
Kirawi 11 months ago committed by GitHub
parent 48c49f0227
commit 7af78c7788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"

@ -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

Loading…
Cancel
Save