Add new config

This commit is contained in:
riesjack
2026-03-08 18:36:36 +01:00
parent aaa8c9a592
commit 291e981da1
9 changed files with 142 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
-- On utilise pcall pour éviter de crash si le plugin n'est pas encore là
local status, ts = pcall(require, "nvim-treesitter.configs")
if not status then return end
ts.setup({
ensure_installed = { "lua", "vim", "vimdoc", "bash", "python", "c" },
highlight = { enable = true },
indent = { enable = true },
})
end
}
}