Revert "fix: prevent autoloading when there are extra command line arguments passed to nvim (#76)"

This reverts commit 975cd4cd06.
main
olimorris 2023-06-30 05:09:55 +01:00
parent 975cd4cd06
commit b03c863731
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ end
---@return nil
function M.autoload()
-- Ensure that no arguments have been passed to Neovim
if config.options.autoload and vim.fn.argc() == 0 and #vim.v.argv < 3 then
if config.options.autoload and vim.fn.argc() == 0 then
if allow_dir() and not ignore_dir() then
M.load()
end