summaryrefslogtreecommitdiff
path: root/.config/nvim/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.lua')
-rw-r--r--.config/nvim/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 8359d47..eae8bb9 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -171,6 +171,7 @@ require 'paq' {
'luckasRanarison/tree-sitter-hypr',
'mattn/emmet-vim',
'neovim/nvim-lspconfig',
+ 'ngalaiko/tree-sitter-go-template',
'nvim-lua/plenary.nvim',
'nvim-telescope/telescope.nvim',
'nvim-telescope/telescope-ui-select.nvim',
@@ -270,6 +271,13 @@ treeconfs.gsp = {
},
filetype = 'gsp',
}
+treeconfs.gotmpl = {
+ install_info = {
+ url = 'https://github.com/ngalaiko/tree-sitter-go-template',
+ files = { 'src/parser.c' },
+ },
+ filetype = 'gotmpl',
+}
require('nvim-treesitter.install').prefer_git = true
require('nvim-treesitter.configs').setup {