Revert "fix: prevent autoloading when there are extra command line arguments passed to nvim (#76)"
This reverts commit 975cd4cd06.
main
parent
975cd4cd06
commit
b03c863731
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue