Skip to content

Commit

Permalink
update comment grammar (helix-editor#9253)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirawi authored and mtoohey31 committed Jun 2, 2024
1 parent 70a32dd commit df4253c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions runtime/queries/comment/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@
; User mention (@user)
("text" @tag
(#match? @tag "^[@][a-zA-Z0-9_-]+$"))

(uri) @markup.link.url

0 comments on commit df4253c

Please sign in to comment.