-- Customize Treesitter -- -------------------- -- Treesitter customizations are handled with AstroCore -- as nvim-treesitter simply provides a download utility for parsers ---@type LazySpec return { "AstroNvim/astrocore", ---@type AstroCoreOpts opts = { treesitter = { highlight = true, -- enable/disable treesitter based highlighting indent = true, -- enable/disable treesitter based indentation auto_install = true, -- enable/disable automatic installation of detected languages ensure_installed = { "lua", "vim", "cpp", "c", "bash", "vim", "markdown", "asm", "cmake", "css", "html", "javascript", "printf", "fish", "git_config", "git_rebase", "gitcommit", "gitignore", "gitattributes", "java", "meson", "ninja", "python", "sql", "typescript", "vimdoc", "xml" -- add more arguments for adding more treesitter parsers }, }, }, }