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