feat: allow to set keymappings to false

Fixes #3954
This commit is contained in:
Stephan Seitz 2022-12-14 22:27:23 +01:00
parent a0dc6c8635
commit 507527711f
3 changed files with 26 additions and 22 deletions

View file

@ -366,7 +366,7 @@ require'nvim-treesitter.configs'.setup {
incremental_selection = {
enable = true,
keymaps = {
init_selection = "gnn",
init_selection = "gnn", -- set to `false` to disable one of the mappings
node_incremental = "grn",
scope_incremental = "grc",
node_decremental = "grm",