-
-
Notifications
You must be signed in to change notification settings - Fork 618
Passing nil as window handle in view.get_winnr #2632
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
Labels
bug
Something isn't working
Comments
alex-courtis
added a commit
that referenced
this issue
Jan 21, 2024
) fix: passing nil as window handle in view.get_winnr Co-authored-by: Alexander Courtis <[email protected]>
This was referenced Sep 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
After #2627, in some cases function
view.get_winnr
can passnil
tonvim_win_is_valid
as a window handle, which causes an error.I figured out the fix and will provide PR very soon. The issue is to put a clean room example in history.
Neovim version
Operating system and version
Linux 5.16.15-051615-generic
Windows variant
No response
nvim-tree version
master
Clean room replication
Steps to reproduce
Expected behavior
Tree opens up second time
Actual behavior
The text was updated successfully, but these errors were encountered: