From 0ecb3b03f625427c974f58453c9fc5e6b7e48e8c Mon Sep 17 00:00:00 2001 From: Krishna Ayyalasomayajula Date: Wed, 20 May 2026 12:55:39 -0500 Subject: [PATCH] refactor: migrate treesitter config to AstroCore --- lua/plugins/treesitter.lua | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) 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, + }, }, }, }