-
Notifications
You must be signed in to change notification settings - Fork 12
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
Neotree close_if_last_window
does not work
#358
Comments
Hey @sand4rt thanks for reporting the issue, would you mind describe the steps you've done to reproduce this? so far if I have the neo-tree open along with nnp and I |
fix released here https://github.com/shortcuts/no-neck-pain.nvim/releases/tag/v1.14.0 |
Hi @shortcuts, just tested the latest release and the issue is still there: issue.movnvim should close at the end, but it doesn't. It's probably because neo-tree does not think it's the last window because NNP is open. |
oh that's weird it's exactly what I tried, i'll write a test case for this to see if it behaves differently |
hi @shortcuts, thanks for your reply. Im not sure how to reproduce the steps in #366? This is what i did:
|
it looks like what I've executed in the test suite, I'll change it to match your input 1:1 and see how it behaves |
Screen.Recording.2024-05-31.at.09.59.52.movHere's a screen recording with the configuration I've used at the end (width related options shouldn't matter here, they are only used for test cases and avoiding opening too-big instances) |
Steps to reproduce
close_if_last_window = true
Expected behavior
Neovim should close, but it doesn't. It likely detects that NNP is still open, preventing it to close
Environment
The text was updated successfully, but these errors were encountered: