summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFrancis Belanger <francis.belanger@gmail.com>2024-04-22 11:43:10 -0400
committerGitHub <noreply@github.com>2024-04-22 11:43:10 -0400
commit81f270a704ffe428ffe221122e0b1604567ae6cd (patch)
tree7e648a47a64590861a6e290d2f0c792c952dc3e0 /.github
parentf92fb11d681a29f02ba144227142dfcf18297da7 (diff)
Fix highlight errors when lsp crash or stop (#864)
* Fix highlight errors when lsp crash or stop It adds a check wether the client is still available before highlighting. If the client is not there anymore it returns `true` to unregister the autocommand This fix the `method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer` errors when doing a LspRestart or the server crashes * Delete the highlight autocommands in the LspDetatch event * Only delete autocmds for the current buffer with the group name * Simplify clearing the autocommands --------- Co-authored-by: Francis Belanger <francis.belanger@ubisoft.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions