summaryrefslogtreecommitdiff
path: root/runtime/queries/jsdoc
diff options
context:
space:
mode:
authorfarwyler2022-06-20 15:55:51 +0000
committerGitHub2022-06-20 15:55:51 +0000
commitcad4e03a00d6431ccde76a080de2a5b328d54d9d (patch)
treee672dfa963be4a578471ba72b597c0bc3f051bc6 /runtime/queries/jsdoc
parent55f4f6951571d44862d5f1bc3ad7094953b788b6 (diff)
adds missing tree-sitter-comment injection for js/ts (#2763)
Diffstat (limited to 'runtime/queries/jsdoc')
-rw-r--r--runtime/queries/jsdoc/injections.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/jsdoc/injections.scm b/runtime/queries/jsdoc/injections.scm
new file mode 100644
index 00000000..877b671d
--- /dev/null
+++ b/runtime/queries/jsdoc/injections.scm
@@ -0,0 +1,5 @@
+; Parse general comment tags
+
+((document) @injection.content
+ (#set! injection.include-children)
+ (#set! injection.language "comment")) \ No newline at end of file