23 lines
628 B
Lua
Raw Normal View History

2025-04-18 21:40:38 +06:00
-- lua/plugins.lua
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
if not status_ok then
return
end
configs.setup({
ensure_installed = {"python", "lua", "http", "json", "go"},
ignore_install = { "" }, -- List of parsers to ignore installing
sync_install = true,
auto_install = true,
highlight = {
enable = true, -- false will disable the whole extension
disable = {}, -- list of language that will be disabled
additional_vim_regex_highlighting = false,
},
autopairs = {
enable = true,
},
indent = { enable = true, disable = {} },
})