mirror of
https://github.com/tiyn/nvim-docs-view.git
synced 2025-11-13 13:59:46 +01:00
chore: fmt
This commit is contained in:
@@ -73,7 +73,7 @@ M.toggle = function()
|
|||||||
buf = vim.api.nvim_get_current_buf()
|
buf = vim.api.nvim_get_current_buf()
|
||||||
|
|
||||||
if cfg.position == "bottom" or cfg.position == "top" then
|
if cfg.position == "bottom" or cfg.position == "top" then
|
||||||
vim.api.nvim_win_set_height(win, math.ceil(height))
|
vim.api.nvim_win_set_height(win, math.ceil(height))
|
||||||
end
|
end
|
||||||
vim.api.nvim_win_set_width(win, math.ceil(width))
|
vim.api.nvim_win_set_width(win, math.ceil(width))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user