summaryrefslogtreecommitdiff
path: root/lua/plugins/nvim-treesitter.lua
blob: 5428bccb202871ec12b8f86b01db1dce49469e93 (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
25
26
27
return {
	{
		"nvim-treesitter/nvim-treesitter",
		build = ":TSUpdate",
		config = function()
			require("nvim-treesitter.configs").setup({
				ensure_installed = {
					"vim",
					"vimdoc",
					"lua",
					"python",
					"rust",
					"typst",
					"ledger",
					"markdown",
					"html",
					"css",
					"json",
					"nginx",
				},
				sync_install = false,
				highlight = { enable = true },
				indent = { enable = true },
			})
		end,
	},
}