Files
nvim-config/lua/plugins/treesitter.lua
T
2025-11-11 22:42:37 -06:00

13 lines
550 B
Lua

return {
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', -- Automatically update parsers on update
config = function()
require('nvim-treesitter.configs').setup {
ensure_installed = { "lua", "javascript", "python", "bash", "java", "c", "markdown", "go" }, -- Add other languages as needed
highlight = { enable = true }, -- Enable syntax highlighting using Tree-sitter
indent = { enable = true }, -- Enable indentation based on Tree-sitter
-- You can add other Tree-sitter modules here as needed
}
end
}