feat: setup nvim-cmp, go, removed redundancy

This commit is contained in:
2025-05-29 22:06:07 -07:00
parent 877b8075bf
commit eb87b8d807
8 changed files with 105 additions and 51 deletions

View File

@@ -1,32 +1,35 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"c",
"lua",
"vim",
"vimdoc",
"query",
"markdown",
"markdown_inline",
"javascript",
"typescript",
"tsx",
"rust",
"zig",
"svelte",
"html",
},
sync_install = true,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
},
},
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"c",
"lua",
"vim",
"vimdoc",
"query",
"markdown",
"markdown_inline",
"javascript",
"typescript",
"tsx",
"rust",
"zig",
"svelte",
"html",
"templ",
"go",
},
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
},
})
end,
},
}