mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
fix(ecma injections): jsdoc match /** */ only
This commit is contained in:
parent
6d486212ed
commit
ba752cee13
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
(comment) @jsdoc
|
||||
(((comment) @_jsdoc_comment
|
||||
(#match? @_jsdoc_comment "^/\\*\\*[^\\*].*\\*/")) @jsdoc)
|
||||
|
||||
(comment) @comment
|
||||
|
||||
(call_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue