fix(neovim): alpha.nvim starting when it wasn't supposed to

This commit is contained in:
Kyren223
2024-07-24 22:55:37 +03:00
parent c1020414ea
commit 269c8a8c3f

View File

@@ -9,7 +9,9 @@ return {
session_lens = { load_on_setup = false },
no_restore_cmds = {
function()
vim.cmd('Alpha')
if vim.fn.argc() == 0 then
vim.cmd('Alpha')
end
end,
},
})