diff --git a/README.md b/README.md index 67d90abbc..881a46ce2 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,8 @@ require'nvim-treesitter.configs'.setup { move_down = "", move_left = "", move_right = "", + select_current_node = "e",-- select current node + -- ideally same as incremental_selection.node_incremental } }, ensure_installed = 'all' -- one of 'all', 'language', or a list of languages diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index ceb834be1..a30d4b5ca 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -50,6 +50,8 @@ By default, everything is disabled. To enable support for features, in your `ini move_down = "", move_left = "", move_right = "", + select_current_node = "e",-- select current node + -- ideally same as incremental_selection.node_incremental } }, ensure_installed = 'all' -- one of 'all', 'language', or a list of languages