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:
Christian Clason 2023-01-10 13:10:54 +01:00 committed by GitHub
parent 6e6954f26e
commit 564f4224ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,