refactor: migrate treesitter config to AstroCore

This commit is contained in:
Krishna Ayyalasomayajula
2026-05-20 12:55:39 -05:00
parent 30b8745281
commit 0ecb3b03f6
+11 -5
View File
@@ -1,16 +1,22 @@
-- Customize Treesitter
-- Customize Treesitter through AstroCore for AstroNvim v6
---@type LazySpec
return {
"nvim-treesitter/nvim-treesitter",
branch = "main",
build = ":TSUpdate",
{
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
treesitter = {
ensure_installed = {
"lua",
"vim",
"vimdoc",
"markdown",
"markdown_inline",
"vim",
},
highlight = true,
indent = true,
},
},
},
}