mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
docs: install four bundled parser in README
Now that Neovim bundles C, Lua, Vim, and Help parsers, these should be installed with nvim-treesitter as well to make sure that matching parser and query versions are used.
This commit is contained in:
parent
6e6954f26e
commit
564f4224ab
1 changed files with 2 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ All modules are disabled by default and need to be activated explicitly in your
|
|||
|
||||
```lua
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
-- A list of parser names, or "all"
|
||||
ensure_installed = { "c", "lua", "rust" },
|
||||
-- A list of parser names, or "all" (the four listed parsers should always be installed)
|
||||
ensure_installed = { "c", "lua", "vim", "help" },
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue