summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2020-06-01 19:15:28 -0500
committerSantos Gallegos <stsewd@protonmail.com>2020-06-01 19:15:28 -0500
commit53284f311aac83677a71efa44c266331e5f3622f (patch)
treec26e475f9f623e586c2ab9411c09dc2d24fef7b2
parentd73988a90782decafa0115e0e935bf86256f43b7 (diff)
Fix example mappings
-rw-r--r--README.md2
-rw-r--r--doc/nvim-treesitter.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 970eee60..89ccb208 100644
--- a/README.md
+++ b/README.md
@@ -99,7 +99,7 @@ require'nvim-treesitter.configs'.setup {
init_selection = 'gnn', -- maps in normal mode to init the node/scope selection
node_incremental = "grn", -- increment to the upper named parent
scope_incremental = "grc", -- increment to the upper scope (as defined in locals.scm)
- scope_decremental = "grm", -- decrement to the previous scope
+ node_decremental = "grm", -- decrement to the previous node
}
},
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 85bcbddd..f1c27842 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -41,7 +41,7 @@ By default, everything is disabled. To enable support for features, in your `ini
init_selection = 'gnn', -- maps in normal mode to init the node/scope selection
node_incremental = "grn", -- increment to the upper named parent
scope_incremental = "grc", -- increment to the upper scope (as defined in locals.scm)
- scope_decremental = "grm", -- decrement to the previous scope
+ node_decremental = "grm", -- decrement to the previous node
}
},
ensure_installed = 'all' -- one of 'all', 'language', or a list of languages