nvim: try setting up helm templating

This commit is contained in:
2024-01-24 11:01:56 +02:00
parent 5bfcfbe052
commit ba95396552
4 changed files with 97 additions and 0 deletions

View File

@ -1,6 +1,15 @@
return {
"nvim-treesitter/nvim-treesitter",
config = function()
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
parser_config.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({
highlight = {
enable = true,