feat(ecma): use lua-match for jsdoc injections

This commit is contained in:
Amaan Qureshi 2023-04-03 11:02:36 -04:00
parent 9711139326
commit 0a20d1bb63

View file

@ -1,5 +1,5 @@
(((comment) @_jsdoc_comment
(#match? @_jsdoc_comment "^/\\*\\*[^\\*].*\\*/")) @jsdoc)
(#lua-match? @_jsdoc_comment "^/[*][*][^*].*[*]/$")) @jsdoc)
(comment) @comment