Co-authored-by: Krzysztof Cieśla <krzysztof.marcin.ciesla@cern.ch>
This commit is contained in:
parent
c272c88daf
commit
ce5d0a6b7d
@ -246,6 +246,11 @@ function M.grow_from_content()
|
||||
end
|
||||
|
||||
function M.resize(size)
|
||||
if M.View.float.enable then
|
||||
-- float size should be defined in view.float.open_win_config
|
||||
return
|
||||
end
|
||||
|
||||
if type(size) == "string" then
|
||||
size = vim.trim(size)
|
||||
local first_char = size:sub(1, 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user