diff --git a/lua/docs-view.lua b/lua/docs-view.lua index 37151f7..0f73bfb 100644 --- a/lua/docs-view.lua +++ b/lua/docs-view.lua @@ -73,7 +73,7 @@ M.toggle = function() buf = vim.api.nvim_get_current_buf() 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 vim.api.nvim_win_set_width(win, math.ceil(width))