2024-04-30 10:24:23 +00:00
|
|
|
return {
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
build=":TSUpdate",
|
|
|
|
config=function()
|
|
|
|
local config = require("nvim-treesitter.configs")
|
|
|
|
config.setup({
|
2024-05-16 22:11:48 +00:00
|
|
|
ensure_installed = {"lua", "python", "rust", "c"},
|
2024-04-30 10:24:23 +00:00
|
|
|
highlight = {enable=true},
|
|
|
|
indent = {enable=true},
|
|
|
|
})
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|