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
+16 -10
View File
@@ -1,16 +1,22 @@
-- Customize Treesitter -- Customize Treesitter through AstroCore for AstroNvim v6
---@type LazySpec ---@type LazySpec
return { return {
"nvim-treesitter/nvim-treesitter", {
branch = "main", "AstroNvim/astrocore",
build = ":TSUpdate", ---@type AstroCoreOpts
opts = { opts = {
ensure_installed = { treesitter = {
"lua", ensure_installed = {
"markdown", "lua",
"markdown_inline", "vim",
"vim", "vimdoc",
"markdown",
"markdown_inline",
},
highlight = true,
indent = true,
},
}, },
}, },
} }