aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorYi Ming <ofseed@foxmail.com>2025-02-13 10:19:34 +0800
committerYi Ming <ofseed@foxmail.com>2025-02-13 10:19:34 +0800
commit4fd2694f20d6abe4305e3f37ca06cf86762ad6a2 (patch)
treefcd2f398274ffd9f489d5b307900a783924453c5 /runtime/lua/vim/lsp/util.lua
parentbe8d87014c0c120ece50aabff307c1f5d9167ec0 (diff)
downloadrneovim-4fd2694f20d6abe4305e3f37ca06cf86762ad6a2.tar.gz
rneovim-4fd2694f20d6abe4305e3f37ca06cf86762ad6a2.tar.bz2
rneovim-4fd2694f20d6abe4305e3f37ca06cf86762ad6a2.zip
fix(lsp): missing method parameter when canceling requests
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r--runtime/lua/vim/lsp/util.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index ba519614c0..9e84e27205 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -2218,6 +2218,7 @@ function M._refresh(method, opts)
M._cancel_requests({
bufnr = bufnr,
clients = clients,
+ method = method,
type = 'pending',
})
for _, client in ipairs(clients) do