porcupine
porcupine copied to clipboard
langserver restart on error
I use clangd
with Porcupine when editing C code. It sometimes crashes. To restart it, I need to close all C files and reopen the file I want to edit.
It would be nice if I could configure clangd to start automatically after crashing. In fact, that should probably be the default behavior, with some reasonable rule to prevent it from endlessly restarting the langserver if it crashes immediately every time. For example, we could give up if we have restarted the langserver 5 times within the last minute.