From cee6bfda8c65872b4c490f18cf96181c9ef135b6 Mon Sep 17 00:00:00 2001 From: opalmay <65673442+opalmay@users.noreply.github.com> Date: Mon, 6 Mar 2023 19:57:36 +0200 Subject: refactor: allow setting `float_opts` directly Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com> --- lua/lvim/core/terminal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lvim/core/terminal.lua b/lua/lvim/core/terminal.lua index 5e704428..ab2ba4a0 100644 --- a/lua/lvim/core/terminal.lua +++ b/lua/lvim/core/terminal.lua @@ -106,7 +106,7 @@ M.init = function() -- size == 1 is a special case for full screen if term_opts.size == 1 then term_opts.direction = "float" - term_opts.float_opts = { + term_opts.float_opts = term_opts.float_opts or { border = "none", width = 100000, height = 100000, -- cgit v1.2.3