diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2020-07-10 19:04:29 -0500 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-11 13:18:37 +0200 |
| commit | 366e8b43bfe508ffaab2a905135a7c5c5a88fb06 (patch) | |
| tree | 18ecbb55a9b9f35a114d45ce207d855fef1a3c9d /README.md | |
| parent | Typo (diff) | |
| download | nvim-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.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |
