mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 17:58:51 +02:00
fix(util): fixed lsp willRenameFiles support check
This commit is contained in:
parent
25f3587f3f
commit
21ee35f710
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ end
|
|||
function M.on_rename(from, to)
|
||||
local clients = vim.lsp.get_active_clients()
|
||||
for _, client in ipairs(clients) do
|
||||
if client:supports_method("workspace/willRenameFiles") then
|
||||
if client.supports_method("workspace/willRenameFiles") then
|
||||
local resp = client.request_sync("workspace/willRenameFiles", {
|
||||
files = {
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue