gorbit99 / codewindow.nvim

MIT License
431 stars 16 forks source link

ADD: check if `show_cursor` #47

Closed NEX-S closed 1 year ago

NEX-S commented 1 year ago

check if show_cursor is enabled. if enable, create the CursorMoved autocmd.

gorbit99 commented 1 year ago

Doesn't this stop the window scrolling, when a file is too long and you go to the end?

NEX-S commented 1 year ago

Doesn't this stop the window scrolling, when a file is too long and you go to the end?

I've tested it in about 4000 LOC lua file, and the scroll seems don't have any unexpected behavior

reproduce testing: open a large lua file in about 4000 LOC press G / gg, the minimap works fine

stop the window scrolling sorry I don't really understand the stop scrolling means, can u give me an example? :(

gorbit99 commented 1 year ago

That's fine then, that was my question.