From 66212a9fbcf683f48f3a177e6a20b5fbc575fca4 Mon Sep 17 00:00:00 2001 From: Dietrich Moerman Date: Sat, 21 Dec 2024 12:14:58 +0100 Subject: [PATCH] Enable HTML as injected language in `gotmpl` treesitter --- nvim/.config/nvim/queries/gotmpl/injections.scm | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 nvim/.config/nvim/queries/gotmpl/injections.scm diff --git a/nvim/.config/nvim/queries/gotmpl/injections.scm b/nvim/.config/nvim/queries/gotmpl/injections.scm new file mode 100644 index 0000000..16d5736 --- /dev/null +++ b/nvim/.config/nvim/queries/gotmpl/injections.scm @@ -0,0 +1,3 @@ +((text) @injection.content + (#set! injection.language "html") + (#set! injection.combined))