dotfiles/nvim/lua/plugins/treesitter.lua
Mats Ricardo Nomedal a11473e308 initial dotfiles
2026-04-23 23:48:01 +02:00

20 lines
516 B
Lua

-- Treesitter: better syntax highlighting and code understanding
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"lua", "vim", "vimdoc",
"python", "bash",
"c_sharp",
"json", "yaml", "toml", "markdown",
},
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
})
end,
},
}