summaryrefslogtreecommitdiff
path: root/lua/plugins/nvim-treesitter.lua
blob: 5fc91d5ad0c3084d131f2524dc79e61e0ce22eda (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 = { "lua", "python", "rust" },
				sync_install = false,
				highlight = { enable = true },
				indent = { enable = true },
			})
		end,
	},
}