mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-04 15:07:34 +00:00
fix(util): use vim.o.shell by default
This commit is contained in:
parent
fe28f4b73e
commit
0cbf466913
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue