fix: Cover missing edge case in resetting user's preferred shell
This commit is contained in:
committed by
Dheepak Krishnamurthy
parent
18060f9841
commit
75c920883f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user