summaryrefslogtreecommitdiff
path: root/lua/lvim/core/terminal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lvim/core/terminal.lua')
-rw-r--r--lua/lvim/core/terminal.lua2
1 files changed, 1 insertions, 1 deletions
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,