When I used 'u' to restore last session's code or use 'Leet last_submit' to restore last submission, the LSP didn't respond. Instead, it stucked at the suggestions it provided for the problem template.
'LspRestart' does work but it only refreshes the LSP output and the LSP is still not responding to new inputs after that. Auto complete powered by LSP doesn't work also.
I'm using C++ with clangd.