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 }
|
cmd = { cmd }
|
||||||
end
|
end
|
||||||
if #cmd == 0 then
|
if #cmd == 0 then
|
||||||
cmd = { vim.env.SHELL or vim.o.shell }
|
cmd = { vim.o.shell }
|
||||||
end
|
end
|
||||||
opts = opts or {}
|
opts = opts or {}
|
||||||
local float = M.float(opts)
|
local float = M.float(opts)
|
||||||
|
|
Loading…
Reference in New Issue