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

	indent = {
		enable = true,
	},

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