aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gotmpl/injections.scm
diff options
context:
space:
mode:
authorDaniel Longeuay2022-07-26 01:17:28 +0000
committerGitHub2022-07-26 01:17:28 +0000
commit2ede98c4b4275cc2176836347b7c921a7f018d72 (patch)
treee47baf0dc0cba24b696a11c85f5ce983abe3626b /runtime/queries/gotmpl/injections.scm
parentd4a5413255670ce30a0d91192ed375be8cd890a6 (diff)
feat(tree-sitter): :sparkles: add go template support (#3091)
* feat(tree-sitter): :sparkles: add go template support * fix(tree-sitter): :bug: go template highlight scope selectors * chore(tree-sitter): :wrench: update go template grammar commit
Diffstat (limited to 'runtime/queries/gotmpl/injections.scm')
-rw-r--r--runtime/queries/gotmpl/injections.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/gotmpl/injections.scm b/runtime/queries/gotmpl/injections.scm
new file mode 100644
index 00000000..321c90ad
--- /dev/null
+++ b/runtime/queries/gotmpl/injections.scm
@@ -0,0 +1,2 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))