Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

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

Open
gaoqiangks opened this issue Jun 14, 2023 · 0 comments
Open

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

gaoqiangks opened this issue Jun 14, 2023 · 0 comments

Comments

@gaoqiangks
Copy link

gaoqiangks commented Jun 14, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant