aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2020-07-10 19:04:29 -0500
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-07-11 13:18:37 +0200
commit366e8b43bfe508ffaab2a905135a7c5c5a88fb06 (patch)
tree18ecbb55a9b9f35a114d45ce207d855fef1a3c9d /README.md
parentTypo (diff)
downloadnvim-treesitter-366e8b43bfe508ffaab2a905135a7c5c5a88fb06.tar
nvim-treesitter-366e8b43bfe508ffaab2a905135a7c5c5a88fb06.tar.gz
nvim-treesitter-366e8b43bfe508ffaab2a905135a7c5c5a88fb06.tar.bz2
nvim-treesitter-366e8b43bfe508ffaab2a905135a7c5c5a88fb06.tar.lz
nvim-treesitter-366e8b43bfe508ffaab2a905135a7c5c5a88fb06.tar.xz
nvim-treesitter-366e8b43bfe508ffaab2a905135a7c5c5a88fb06.tar.zst
nvim-treesitter-366e8b43bfe508ffaab2a905135a7c5c5a88fb06.zip
Update example
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 61bf8f9f4..fc0098706 100644
--- a/README.md
+++ b/README.md
@@ -115,12 +115,16 @@ require'nvim-treesitter.configs'.setup {
},
smart_rename = {
enable = true,
- smart_rename = "grr" -- mapping to rename reference under cursor
+ keymaps = {
+ smart_rename = "grr" -- mapping to rename reference under cursor
+ }
},
navigation = {
enable = true,
- goto_definition = "gnd", -- mapping to go to definition of symbol under cursor
- list_definitions = "gnD" -- mapping to list all definitions in current file
+ keymaps = {
+ goto_definition = "gnd", -- mapping to go to definition of symbol under cursor
+ list_definitions = "gnD" -- mapping to list all definitions in current file
+ }
}
},
ensure_installed = 'all' -- one of 'all', 'language', or a list of languages