fix: Cover missing edge case in resetting user's preferred shell

This commit is contained in:
Roger Kim
2023-09-05 16:16:27 -04:00
committed by Dheepak Krishnamurthy
parent 18060f9841
commit 75c920883f

View File

@@ -57,6 +57,7 @@ local function project_root_dir()
local cwd = vim.loop.cwd()
local root = get_root(cwd)
if root == nil then
vim.o.shell = oldshell
return nil
end