summaryrefslogtreecommitdiff
path: root/after/plugin/treesitter.lua
blob: 7a1e26f40d4d6f924015b5ef5ae6e382c59a13bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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",
		},
	},
})
-- vim.api.nvim_buf_create_user_command
-- vim.keymap.set("n", "")