gioele / vim-autoswap

Please Vim, stop with these swap file messages. Just switch to the correct window!
Creative Commons Zero v1.0 Universal
115 stars 25 forks source link

better neovim (specifically neovim-qt) support #22

Open mbway opened 5 years ago

mbway commented 5 years ago

neovim-qt hangs with a 'Neovim exited with status (...)' message when neovim exits with a non-zero exit code and setting v:swapchoice = 'q' or v:swapchoice = 'a' results in an exit code of 1.

Just calling GuiClose doesn't seem to work. Probably because the 'swap file exists' message is blocking it somehow? The workaround to open the file isn't perfect but seems to work pretty well for me.