mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
update docs for ensure installed, move modules config in config.modules
This commit is contained in:
parent
1d6ad9b560
commit
dc06f9ea81
3 changed files with 48 additions and 47 deletions
|
|
@ -96,10 +96,11 @@ require'nvim-treesitter.configs'.setup {
|
|||
enable = true,
|
||||
disable = { 'cpp', 'lua' },
|
||||
keymaps = { -- mappings for incremental selection (visual mappings)
|
||||
node_incremental = "<leader>e", -- "grn" by default,
|
||||
node_incremental = "<leader>e", -- "grn" by default,
|
||||
scope_incremental = "<leader>f" -- "grc" by default
|
||||
}
|
||||
}
|
||||
},
|
||||
ensure_installed = 'all' -- one of 'all', 'language', or a list of languages
|
||||
}
|
||||
EOF
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue