20 lines
516 B
Lua
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,
|
|
},
|
|
}
|