feat(config)!: remove ignore_install

This was only useful for no longer supported `auto_install` option.
This commit is contained in:
Christian Clason 2025-05-15 09:45:28 +02:00 committed by Christian Clason
parent 864e75a85d
commit b0a20057b0
4 changed files with 3 additions and 25 deletions

View file

@ -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