Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 6b96613

Browse files
committed
fix: remove debug message
1 parent 64fc365 commit 6b96613

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lua/completion/hover.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ function M.modifyCallback()
284284
vim.lsp.util.close_preview_autocmd({"CursorMoved", "BufHidden", "InsertCharPre"}, winnr)
285285
local hover_len = #vim.api.nvim_buf_get_lines(bufnr,0,-1,false)[1]
286286
local win_width = vim.api.nvim_win_get_width(0)
287-
print(hover_len, win_width)
288287
if hover_len > win_width then
289288
vim.api.nvim_win_set_width(winnr,math.min(hover_len,win_width))
290289
vim.api.nvim_win_set_height(winnr,math.ceil(hover_len/win_width))

0 commit comments

Comments
 (0)