-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error opening another instance of vim #6
Comments
-vim (all flavours) errors when no explicit override of the default target type is present in a user's rc file. given this setting is not stipulated as required in the README.md, this is a bug, present since commit 750bd03 Author: Pete Beardmore <[email protected]> Date: Tue Jul 30 18:24:51 2019 +0100 [fix] inconsistent state on reload [closes GitHub issue #6]
Hi @harriott. Thank you very much for reporting this. You found a bug that lingered for years (since 750bd03 [fix] inconsistent state on reload on Tue Jul 30 18:24:51 2019 +0100) - there should have been a guard around the call to validate the target type! I'd hazard a guess that the few that are using this had already set their target type to the newest (and perhaps most useful)
which you may already have tried. That would work around the error. As far as replication goes, I did so with my vanilla vim by simply commenting out the above setting in my The trivial fix is in there now regardless |
@elbeardmorez, thanks for the fix (which I guess is too small to note in your |
Arch Linux,
gvim 8.2.4106-1
, dotfiles stripped down to have only the plugin and these two configuration lines:All is fine in one instance of
gvim
/nvim
/vim
, but when I open a file in another instance:The text was updated successfully, but these errors were encountered: