@@ -22,7 +22,15 @@
22((regex_pattern) @injection.content
22((regex_pattern) @injection.content
23 (#set! injection.language "regex"))
23 (#set! injection.language "regex"))
25− ; Parse JSDoc annotations in comments
25+; Parse JSDoc annotations in multiline comments
27((comment) @injection.content
27((comment) @injection.content
28− (#set! injection.language "jsdoc"))
28+ (#set! injection.language "jsdoc")
29+ (#match? @injection.content "^/\\*+"))
31+; Parse general tags in single line comments
33+((comment) @injection.content
34+ (#set! injection.language "comment")
35+ (#match? @injection.content "^//"))