mirror of https://github.com/folke/lazy.nvim.git
fix(util): use vim.o.shell by default
This commit is contained in:
parent
fe28f4b73e
commit
0cbf466913
|
@ -101,7 +101,7 @@ function M.float_term(cmd, opts)
|
|||
cmd = { cmd }
|
||||
end
|
||||
if #cmd == 0 then
|
||||
cmd = { vim.env.SHELL or vim.o.shell }
|
||||
cmd = { vim.o.shell }
|
||||
end
|
||||
opts = opts or {}
|
||||
local float = M.float(opts)
|
||||
|
|
Loading…
Reference in New Issue