update comment grammar (#9253)
This commit is contained in:
parent
48c49f0227
commit
7af78c7788
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue