Skip to content

fix(#1711): open in a new window when no window picker and no available window #1715

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

alex-courtis
Copy link
Member

fixes #1711

One line fix is to return -1 instead of nil when no available window.

Refactored and documented for clarity.

Tested:

@alex-courtis alex-courtis merged commit 33ce8e3 into master Nov 4, 2022
@alex-courtis alex-courtis deleted the 1711-disabled-window-picker-cannot-open-when-no-available-window branch December 16, 2022 04:37
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.

Disabling window_picker causing file not to open when only nvim-tree is present
1 participant