summaryrefslogtreecommitdiff
path: root/lua/tjk/plugins/treesitter.lua
blob: d35107bfaa19fd8bb5d394170fe634b0f795b02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
return {
	"nvim-treesitter.configs",
	"https://github.com/nvim-treesitter/nvim-treesitter",
	setup = {
		highlight = { enable = true, disable = { "yaml", "dockerfile" } },
		--indent = { enable = true }, -- FIXME
	},
	dependents = {
		{
			"nvim-ts-autotag",
			"https://github.com/windwp/nvim-ts-autotag",
			setup = {
				per_filetype = { ["html"] = { enable_close = true } },
			},
		},
		{
			"rainbow-delimiters.setup",
			"https://github.com/HiPhish/rainbow-delimiters.nvim"
		},
	},
	loadFn = function()
		vim.g._ts_force_sync_parsing = true -- #32660
	end,
}