You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I customized the parser_install_dir folder. When I start nvim for the first time, it automatically downloads the parsers listed in ensure_installed to the parser_install_dir directory. However, when I use TSinstall xxx, it downloads to the plugin directory instead.
Sorry, we don't support lazy-loading. If you can reproduce this with a minimal config that only uses nvim-treesitter (that I can test with nvim --clean -u test.lua), I will take a look.
My mistake. I set up parser_install_dir once when installing nvim-treesitter, and called require("nvim-treesitter.configs").setup() again when installing nvim-treesitter-textobjects(without configuring parser_install_dir). As a result, parser_install_dir became nil. Combining the setups for these two plugins should fix it.
Describe the bug
I customized the parser_install_dir folder. When I start nvim for the first time, it automatically downloads the parsers listed in ensure_installed to the parser_install_dir directory. However, when I use TSinstall xxx, it downloads to the plugin directory instead.
config:
To Reproduce
Expected behavior
all parsers installed to the parser_install_dir
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
No response
The text was updated successfully, but these errors were encountered: