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: invalid window id errors #31

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

jghauser
Copy link

@jghauser jghauser commented Jun 18, 2022

Hey! Thanks a lot for this plugin! I've run into the 'invalid window id' errors reported in #4 and #16 (and maybe also #2). In this PR I've solved them (as far as I can tell) by simply checking whether the window ids are valid before attempting to do anything with them. Let me know if this is useful to the plugin or if you'd like me to improve it in some way.

Given that it's just checking for the validity of the window ids, I don't think it should make anything worse at least :).

[EDIT: If anyone reading this wants a somewhat useable fork, feel free to check out mine. It's got all PRs from the original repo merged and some additional fixes.

EDIT2: I now use tint.nvim instead and stopped maintaining the fork.]

@gwd999
Copy link

gwd999 commented Jun 19, 2022

same errors when using shade with Nvim-R Plugin

@jghauser
Copy link
Author

@gwd999 are those errors solved with this PR?

@ambadyanands
Copy link

@jghauser Thanks a lot for fixing this. I hope @sunjon is doing good and will merge this when they're back. ❤️

@ananthb
Copy link

ananthb commented Sep 24, 2022

I have the same issue with rmagatti/auto-session. Does this plugin need to be handled separately or will this PR also cover that?

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.

5 participants