aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-04-21 22:42:48 +0900
committerGitHub <noreply@github.com>2020-04-21 15:42:48 +0200
commit633322a020b0253aeb8c6eaeeed17d8a8fb53229 (patch)
tree5541be92a378b5599c5a2363f6fdb3d7e58655c0 /src/clint.py
parent0c637898f991ff9b90e695065a0136dd9c37106a (diff)
downloadrneovim-633322a020b0253aeb8c6eaeeed17d8a8fb53229.tar.gz
rneovim-633322a020b0253aeb8c6eaeeed17d8a8fb53229.tar.bz2
rneovim-633322a020b0253aeb8c6eaeeed17d8a8fb53229.zip
lsp: do not assert even if the code does not exist in ErrorCodes (#11981)
There is ErrorCodes in the LSP specification, but in ResponseError.code it is not used and the actual type is number. Some language servers response original error cods and this is valid spec. So we shouldn't assert even if the code does not exist in ErrorCodes. ref: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#responseMessage
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions