diff options
author | Tama McGlinn <t.mcglinn@gmail.com> | 2024-06-14 11:02:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 11:02:36 +0200 |
commit | 81b372fecd749d350fbd86be1f65146b2df97b70 (patch) | |
tree | 9c1cfed1c2b1cf1eeaa91f725358646c56159e2d /runtime/lua/vim/lsp/semantic_tokens.lua | |
parent | 29e05cfb7ecd2abeac397c2ef2466166d18e1f41 (diff) | |
download | rneovim-81b372fecd749d350fbd86be1f65146b2df97b70.tar.gz rneovim-81b372fecd749d350fbd86be1f65146b2df97b70.tar.bz2 rneovim-81b372fecd749d350fbd86be1f65146b2df97b70.zip |
fix(lsp): check for nil response from server (#29196)
this only changes the error message, so that it is clear that
the error is with the LSP server, rather than being a crash inside
nvim runtime scripts. We are already doing a lot of validation,
it's just that nil was being overlooked here.
This fixes issue #27395
Diffstat (limited to 'runtime/lua/vim/lsp/semantic_tokens.lua')
0 files changed, 0 insertions, 0 deletions