diff options
author | opalmay <[email protected]> | 2023-03-06 20:20:26 +0200 |
---|---|---|
committer | opalmay <[email protected]> | 2023-04-12 13:56:59 +0300 |
commit | 844e59f062b375a95ac342c3f505d8cd6c08405d (patch) | |
tree | 8da31ed0b46e2f08ead49223b06f944f022f7685 | |
parent | b35c10f46fd6e71cb80a61daf5e54e557e49142b (diff) |
revert float_optsrefactor-toggleterm-exec
-rw-r--r-- | lua/lvim/core/terminal.lua | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lua/lvim/core/terminal.lua b/lua/lvim/core/terminal.lua index a9164307..bbe25daa 100644 --- a/lua/lvim/core/terminal.lua +++ b/lua/lvim/core/terminal.lua @@ -106,12 +106,11 @@ 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 - or { - border = "none", - width = 100000, - height = 100000, - } + term_opts.float_opts = { + border = "none", + width = 100000, + height = 100000, + } end term_opts.direction = term_opts.direction or lvim.builtin.terminal.terminals_defaults.direction |