mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
Add documentation for node_movement.select_current_node
This commit is contained in:
parent
e1763cadf3
commit
64febc70a6
2 changed files with 4 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ require'nvim-treesitter.configs'.setup {
|
||||||
move_down = "<a-j>",
|
move_down = "<a-j>",
|
||||||
move_left = "<a-h>",
|
move_left = "<a-h>",
|
||||||
move_right = "<a-l>",
|
move_right = "<a-l>",
|
||||||
|
select_current_node = "<leader>e",-- select current node
|
||||||
|
-- ideally same as incremental_selection.node_incremental
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ensure_installed = 'all' -- one of 'all', 'language', or a list of languages
|
ensure_installed = 'all' -- one of 'all', 'language', or a list of languages
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,8 @@ By default, everything is disabled. To enable support for features, in your `ini
|
||||||
move_down = "<a-j>",
|
move_down = "<a-j>",
|
||||||
move_left = "<a-h>",
|
move_left = "<a-h>",
|
||||||
move_right = "<a-l>",
|
move_right = "<a-l>",
|
||||||
|
select_current_node = "<leader>e",-- select current node
|
||||||
|
-- ideally same as incremental_selection.node_incremental
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ensure_installed = 'all' -- one of 'all', 'language', or a list of languages
|
ensure_installed = 'all' -- one of 'all', 'language', or a list of languages
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue