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 ---@type LazySpec
return { return {
"nvim-treesitter/nvim-treesitter", {
branch = "main", "AstroNvim/astrocore",
build = ":TSUpdate", ---@type AstroCoreOpts
opts = { opts = {
treesitter = {
ensure_installed = { ensure_installed = {
"lua", "lua",
"vim",
"vimdoc",
"markdown", "markdown",
"markdown_inline", "markdown_inline",
"vim", },
highlight = true,
indent = true,
},
}, },
}, },
} }