aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGaetan Lepage <gaetan@glepage.com>2023-01-13 09:35:04 +0100
committerChristian Clason <c.clason@uni-graz.at>2023-01-14 11:55:19 +0100
commit368b4d48d467b6fa661526a4f3b249019ee80629 (patch)
tree381059f4e293e5b36115fd4c853db13c56c38599 /README.md
parentmarkdown: add strikethrough and blockquote captures (diff)
downloadnvim-treesitter-368b4d48d467b6fa661526a4f3b249019ee80629.tar
nvim-treesitter-368b4d48d467b6fa661526a4f3b249019ee80629.tar.gz
nvim-treesitter-368b4d48d467b6fa661526a4f3b249019ee80629.tar.bz2
nvim-treesitter-368b4d48d467b6fa661526a4f3b249019ee80629.tar.lz
nvim-treesitter-368b4d48d467b6fa661526a4f3b249019ee80629.tar.xz
nvim-treesitter-368b4d48d467b6fa661526a4f3b249019ee80629.tar.zst
nvim-treesitter-368b4d48d467b6fa661526a4f3b249019ee80629.zip
readme: runtimepath before setup call
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2ae077af4..e7f5c371d 100644
--- a/README.md
+++ b/README.md
@@ -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