mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(install): don't prompt on installed parsers (skip)
Use `:TSInstall!` or `force = true` to reinstall.
This commit is contained in:
parent
12e0246e4f
commit
9365cf8a97
3 changed files with 5 additions and 11 deletions
|
|
@ -20,7 +20,7 @@ function M.setup(user_data)
|
|||
if user_data then
|
||||
if user_data.install_dir then
|
||||
user_data.install_dir = vim.fs.normalize(user_data.install_dir)
|
||||
--TODO(clason): insert after/before site, or leave to user?
|
||||
--TODO(clason): leave to user!
|
||||
vim.opt.runtimepath:append(user_data.install_dir)
|
||||
end
|
||||
config = vim.tbl_deep_extend('force', config, user_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue