mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat(ecma): use lua-match for jsdoc injections
This commit is contained in:
parent
9711139326
commit
0a20d1bb63
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
(((comment) @_jsdoc_comment
|
(((comment) @_jsdoc_comment
|
||||||
(#match? @_jsdoc_comment "^/\\*\\*[^\\*].*\\*/")) @jsdoc)
|
(#lua-match? @_jsdoc_comment "^/[*][*][^*].*[*]/$")) @jsdoc)
|
||||||
|
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue