summary refs log tree commit diff
path: root/.vim/lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/lua')
-rw-r--r--.vim/lua/plugins.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index 9efd513..96b1e89 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -244,6 +244,7 @@ return require('packer').startup({function()
     'norg_meta',
     'norg_table',
     'hare',
+    'gotmpl',
   }
   use {'nvim-treesitter/nvim-treesitter', -- {{{
     run = ':TSUpdate',
@@ -281,6 +282,14 @@ return require('packer').startup({function()
           files = {'src/parser.c'},
         }
       }
+      tsconf.gotmpl = {
+        install_info = {
+          url = 'https://github.com/ngalaiko/tree-sitter-go-template',
+          files = {'src/parser.c'},
+        },
+        filetype = 'gotmpl',
+        used_by = {'gohtmltmpl', 'gotexttmpl', 'gotmpl', 'yaml'},
+      }
 
       require('nvim-treesitter.configs').setup {
         ensure_installed = _G.treesitter_enabled,