configure lsp

This commit is contained in:
2023-09-15 13:27:54 +03:00
parent 78d13aca61
commit 4fa17d87c8
18 changed files with 476 additions and 84 deletions

View File

@@ -1,11 +1,25 @@
return {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, {
"terraform",
"hcl",
})
end
end,
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, {
"java",
"go",
"gomod",
"gowork",
"gosum",
"dockerfile",
"terraform",
"hcl",
"json",
"json5",
"jsonc",
"ninja",
"python",
"rst",
"toml",
"yaml",
})
end
end,
}