mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
readme: runtimepath before setup call
This commit is contained in:
parent
7e4a7c4508
commit
368b4d48d4
1 changed files with 2 additions and 1 deletions
|
|
@ -415,13 +415,14 @@ This directory must be writeable and must be explicitly added to the
|
|||
`runtimepath`. For example:
|
||||
|
||||
``` lua
|
||||
vim.opt.runtimepath:append("/some/path/to/store/parsers")
|
||||
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
parser_install_dir = "/some/path/to/store/parsers",
|
||||
|
||||
...
|
||||
|
||||
}
|
||||
vim.opt.runtimepath:append("/some/path/to/store/parsers")
|
||||
```
|
||||
|
||||
If this option is not included in the setup options, or is explicitly set to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue