mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
revert float_opts
This commit is contained in:
parent
b35c10f46f
commit
844e59f062
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue