diff options
author | Gregory Anders <greg@gpanders.com> | 2024-11-25 11:48:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 11:48:11 -0600 |
commit | 29c72cdf4a4913c152f037865cb28c78a8930340 (patch) | |
tree | f55d404286962095163e701c5942beb3d7496628 /runtime/lua/vim/lsp/protocol.lua | |
parent | 8d55cc218cfed54136677398ca76c45987b15f29 (diff) | |
download | rneovim-29c72cdf4a4913c152f037865cb28c78a8930340.tar.gz rneovim-29c72cdf4a4913c152f037865cb28c78a8930340.tar.bz2 rneovim-29c72cdf4a4913c152f037865cb28c78a8930340.zip |
fix(lsp): retrigger diagnostics request on server cancellation (#31345)
Co-authored-by: Jesse <github@jessebakker.com>
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 7db48b0c06..3d29dad90a 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -174,6 +174,7 @@ local constants = { -- Defined by the protocol. RequestCancelled = -32800, ContentModified = -32801, + ServerCancelled = -32802, }, -- Describes the content type that a client supports in various |