Co-authored-by: Krzysztof Cieśla <krzysztof.marcin.ciesla@cern.ch>
This commit is contained in:
@@ -246,6 +246,11 @@ function M.grow_from_content()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.resize(size)
|
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
|
if type(size) == "string" then
|
||||||
size = vim.trim(size)
|
size = vim.trim(size)
|
||||||
local first_char = size:sub(1, 1)
|
local first_char = size:sub(1, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user