diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index b83cd4d..549b5c3 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,16 +1,22 @@ --- Customize Treesitter +-- Customize Treesitter through AstroCore for AstroNvim v6 ---@type LazySpec return { - "nvim-treesitter/nvim-treesitter", - branch = "main", - build = ":TSUpdate", - opts = { - ensure_installed = { - "lua", - "markdown", - "markdown_inline", - "vim", + { + "AstroNvim/astrocore", + ---@type AstroCoreOpts + opts = { + treesitter = { + ensure_installed = { + "lua", + "vim", + "vimdoc", + "markdown", + "markdown_inline", + }, + highlight = true, + indent = true, + }, }, }, }