mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
feat(config)!: remove ignore_install
This was only useful for no longer supported `auto_install` option.
This commit is contained in:
parent
864e75a85d
commit
b0a20057b0
4 changed files with 3 additions and 25 deletions
|
|
@ -439,7 +439,7 @@ end
|
|||
---@param callback? fun(boolean)
|
||||
M.install = a.sync(function(languages, options, callback)
|
||||
reload_parsers()
|
||||
languages = config.norm_languages(languages, { ignored = true, unsupported = true })
|
||||
languages = config.norm_languages(languages, { unsupported = true })
|
||||
install(languages, options, callback)
|
||||
end, 3)
|
||||
|
||||
|
|
@ -451,8 +451,7 @@ M.update = a.sync(function(languages, _options, callback)
|
|||
if not languages or #languages == 0 then
|
||||
languages = 'all'
|
||||
end
|
||||
languages =
|
||||
config.norm_languages(languages, { ignored = true, missing = true, unsupported = true })
|
||||
languages = config.norm_languages(languages, { missing = true, unsupported = true })
|
||||
languages = vim.tbl_filter(needs_update, languages) ---@type string[]
|
||||
|
||||
if #languages > 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue