hop.nvim icon indicating copy to clipboard operation
hop.nvim copied to clipboard

Doesn't work for the last line of the current window.

Open gaoqiangks opened this issue 1 year ago • 0 comments

For example, when I have a very long line, which is not completely displayed on the current window, the plugin would omit this line. In the source file "window.lua", l.11, I think the "+1" should be added to the bot_line.

local line_of_file=vim.fn.line('$') local bot_line = win_info.botline if bot_line < line_of_file then bot_line=bot_line+1 end

Or at least, there should be an option to config this.

gaoqiangks avatar Jun 14 '23 05:06 gaoqiangks