feat: Adapt configuration for AstroNvim v6

This commit is contained in:
Xavier Logerais
2026-07-07 16:10:12 +00:00
parent 6787aef5cd
commit 5d32fc8518
9 changed files with 87 additions and 77 deletions
+14 -5
View File
@@ -1,15 +1,24 @@
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- Customize Treesitter
-- --------------------
-- Treesitter customizations are handled with AstroCore
-- as nvim-treesitter simply provides a download utility for parsers
---@type LazySpec
return {
"nvim-treesitter/nvim-treesitter",
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
ensure_installed = {
"lua",
"vim",
-- add more arguments for adding more treesitter parsers
treesitter = {
highlight = true, -- enable/disable treesitter based highlighting
indent = true, -- enable/disable treesitter based indentation
auto_install = true, -- enable/disable automatic installation of detected languages
ensure_installed = {
"lua",
"vim",
-- add more arguments for adding more treesitter parsers
},
},
},
}