summaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
blob: ca5e733b6ffba944ea87275158b585979179f7db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
return {
	"nvim-treesitter/nvim-treesitter",
	build = ":TSUpdate",
	config = function()
		local configs = require("nvim-treesitter.configs")
		configs.setup({
			sync_install = false,

			auto_install = true,

			highlight = {
				enable = true,
				additional_vim_regex_highlighting = false,
			},
			indent = { enable = true },
		})
	end,
}