nvim_config/lua/plugins/nvim-treesitter.lua

14 lines
403 B
Lua

return {{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "python", "html" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
}}