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): win cursor not properly revealed #1971

Merged
merged 1 commit into from
May 17, 2024

Conversation

xiyaowong
Copy link
Collaborator

@xiyaowong xiyaowong commented May 17, 2024

Temporary solution. Need to refactor cursor manager and viewport manager. Merge the logic and redefine the necessity of some custom events, such as visual-changed and window-scroll.

Note: Handling the win_viewport event directly in the cursor manager does not work

@ollien
Copy link
Collaborator

ollien commented May 17, 2024

Do you mind giving a before/after screencast? I'm not clear exactly what this is fixing. (I have some morbid curiosity because I am attempting to address something potentially similar right now, so I wonder if our fixes combined are a complete solution...)

@xiyaowong
Copy link
Collaborator Author

xiyaowong commented May 17, 2024

It may not be the same issue. The difference is that currently only the tests for this PR will pass. 😹

@ollien
Copy link
Collaborator

ollien commented May 17, 2024

Ah, this explains why my CI was failing inconsistently, then, even though it worked locally :)

@xiyaowong
Copy link
Collaborator Author

Maybe you are using nvim0.9

@xiyaowong
Copy link
Collaborator Author

Merged. Approaching the weekend, reviews are slowing down. Not waiting this time. 🙈

@ollien
Copy link
Collaborator

ollien commented May 17, 2024

I am. Go for it, as long as it still works with 0.9

@xiyaowong xiyaowong merged commit 116abdd into vscode-neovim:master May 17, 2024
8 checks passed
@xiyaowong xiyaowong deleted the fix/incsearch branch May 17, 2024 15:55
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

Successfully merging this pull request may close these issues.

incsearch not works in NVIM v0.10.0
2 participants