13 lines
550 B
Lua
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
|
|
}
|