Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guard.format is not aware of one buffer can be attached to more than one windows #48

Closed
haolian9 opened this issue Aug 11, 2023 · 0 comments

Comments

@haolian9
Copy link

hi! while reading the guard/format.lua, i found it does not save all the relevant window views but only the current one according to this line.
i have the confidence, haha, to say it can be improved due to this fact: when the buffer is being attached/showed in multiple windows, either in another split window or in another tabpage, their cursors need to be taken cared of too.

glepnir added a commit that referenced this issue Aug 11, 2023
fix(#48): preserve window views of formatted buffers
@glepnir glepnir closed this as completed Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants