mirror of https://github.com/folke/lazy.nvim.git
style: mode no longer needed as param for view
This commit is contained in:
parent
037f242430
commit
e632eb4ae0
|
@ -31,7 +31,7 @@ function M.show(mode)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
M.view = (M.view and M.view.win) and M.view or M.create({ mode = mode })
|
M.view = (M.view and M.view.win) and M.view or M.create()
|
||||||
if mode then
|
if mode then
|
||||||
M.view.state.mode = mode
|
M.view.state.mode = mode
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue