nvim: try setting up helm templating
This commit is contained in:
@ -31,6 +31,9 @@ return {
|
||||
},
|
||||
},
|
||||
})
|
||||
lsp.helm_ls.setup({
|
||||
filetypes= { "helm", "yaml" },
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user