summaryrefslogtreecommitdiff
path: root/after/plugin/treesitter.lua
blob: 83eb7cf648088a281154226f577b15b4c02391dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require("nvim-treesitter.configs").setup({
	ensure_installed = { "lua", "bash" },
	sync_install = false,
	auto_install = true,

	highlight = {
		enable = true,
		additional_vim_regex_highlighting = false,
	},
	incremental_selection = {
		enable = true,
		keymaps = {
			node_incremental = "v",
			node_decremental = "V",
		},
	},
})