Open blm768 opened 2 years ago
I don't think this is 100% perfect yet; once or twice, I've gotten an error about something having been disposed when I run the command. I haven't seen that in about a month, though, so this seems like it's probably at least good enough to be useful in its current state.
On my Windows machine, the language server seems to run into issues regularly. Rather than implement a proper solution, I went ahead and added a command to restart the LSP server in the time-honored tradition of, "It's Windows; just restart it".
I haven't fully tested this out yet, but it seems to at least kinda work.