summaryrefslogtreecommitdiff
path: root/lua/plugins/nvim-treesitter.lua
blob: 7bba53a256b94d72f90600fbd7ee3918607d7746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
return {
	{
		"nvim-treesitter/nvim-treesitter",
		build = ":TSUpdate",
		config = function()
			require("nvim-treesitter.configs").setup({
				ensure_installed = { "vim", "vimdoc", "lua", "python", "rust" },
				sync_install = false,
				highlight = { enable = true },
				indent = { enable = true },
			})
		end,
	},
}