Skip to content

Ignore sidescrolloff #33

@boltlessengineer

Description

@boltlessengineer

First, thank you for this great plugin. I installed it yesterday and really enjoying smooth & automatic window resizing.

I usually set sidescrolloff value to 15.

And this seem to cause rendering problem when I switch to another window.

image

Notice my cursor is quite right side of left window. But not making sidescroll yet

스크린샷 2023-02-25 오후 5 34 14

After moving cursor to right window, you can see left window is side-scrolled.

image

This problem also cause rendering issue with indent-blankline.nvim.

Maybe saving original sidescrolloff value and change it to 0 before leaving window will be helpful.
Or just providing pre_hook and post_hook callback option in config would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions