-
Notifications
You must be signed in to change notification settings - Fork 251
fix(renderer): check if current buffer is loaded #1406
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
Conversation
Sorry, I still have the same problem. I'll try to file a proper bug report with a minimal config tomorrow. |
Did you pull the right branch? {
"pysan3/neo-tree.nvim",
branch = "fix-check-buf-available",
... If you are using lazy, double check in the UI. Changing the repo I cannot reproduce it anymore... |
My lazy config always points to my local folder and that is definitely on this PR. I confirmed that by adding a log statement in my local repo. |
@cseickel is the error message exactly the same? |
Yes:
|
😭 Ok please revert the PR. I don't have time right now. |
@cseickel Added one more fix. Could you pull the latest commit and test it again? |
See #1408 |
@cseickel Did you check if this PR fixes the issue instead? Your fix should not work with vsplit as I explained. That one may work sometimes due to timing issues but that's just because you were lucky. Please test it a couple of times. |
I did try this PR, even after your last fix, and it has no effect at all. I still get the error every single time. I also get errors with this branch every time I am using a float and try to open a file where there is no valid window to reuse at ground. With my fix, which is actually just reverting the close window code back to what it has always been, all situations work as expected and no matter how many times I do it, I can't create any error. |
Could you record what you are seeing? If your record is too big in size to be uploaded, please use this ffmpeg script to reduce the size. This will create ffmpeg -i <INPUT-FILE> \
-vf "fps=10,scale=1080:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" \
-pix_fmt yuv420p \
-loop 0 record.mp4 -y
record.mp4As you can see in this recording, I have no problem with this PR. |
There's one more commit I pushed to this branch but it looks like it's not been updated. @cseickel I think if you pull right now, please check you are on commit |
That is better. The latest commit seems to handle all situations. I'm going to reopen this... |
Please revert your PR before merging this or this code will not work as intended. |
No need, I merged it properly. |
@ttytm Thanks for reporting and sorry about the experience. Could you open a new issue with your config? Please ping me there and I'll look into it. |
:Neotree current toggle
:Neotree current toggle
Error from step 5:
@pysan3 I'm not sure I am going to be able to debug so I was thinking about reverting it for now. Do you want to look into it before I do?
Originally posted by @cseickel in #1390 (comment)