tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Fix vim hanging forever on exit #312

Closed mluts closed 5 years ago

mluts commented 6 years ago

During my workday it often happens that when i close vim - it hangs forever, today i dived into the problem and found that when you do {'op': 'close'} with arbitrary session value - nrepl just hangs.

So i came with this solution, it's a bit disrespectful to say something to nrepl server and not waiting for the answer, but it fixes my issue, maybe there is another way to fix that.

How to reproduce the bug:

tpope commented 5 years ago

Should be moot.