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

fix(incsearch): viewport is not updating during searching #1575

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

@theol0403
Copy link
Member

This feels like a hack, and I don't really like the added code. Is there any other possible fix that is more generic?

@xiyaowong
Copy link
Collaborator Author

Neovim did not send the corresponding grid information during incsearch, and no relevant instructions were found in the neovim documentation. @justinmk

This 'hack' is currently the simplest one among the solutions I have tried.

@theol0403
Copy link
Member

It used to work before your highlight manager refactor... do you know why it broke?

@xiyaowong
Copy link
Collaborator Author

No, this is a problem that has always existed. I tested 0.3.2 💆🏻‍♂️

It is fundamentally unrelated to highlighting.

#1149 (comment)

@xiyaowong xiyaowong merged commit b8696a3 into vscode-neovim:master Oct 29, 2023
8 checks passed
@xiyaowong xiyaowong deleted the fix/incsearch branch October 29, 2023 01:17
@xiyaowong
Copy link
Collaborator Author

This problem can only be easily reproduced in clean mode. Most people(including me) don't encounter this problem because they use a search plugin or execute nohl after searching

@xiyaowong
Copy link
Collaborator Author

#1453

@xiyaowong
Copy link
Collaborator Author

neovim/neovim#27858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants