style: auto-format with stylua
parent
dda24ddca2
commit
6ea8fe8462
|
|
@ -32,7 +32,9 @@ function M.lspSupportsRenaming()
|
||||||
local clients = vim.lsp.get_clients { bufnr = 0 }
|
local clients = vim.lsp.get_clients { bufnr = 0 }
|
||||||
for _, client in ipairs(clients) do
|
for _, client in ipairs(clients) do
|
||||||
local workspaceCap = client.server_capabilities.workspace
|
local workspaceCap = client.server_capabilities.workspace
|
||||||
local supports = workspaceCap and workspaceCap.fileOperations and workspaceCap.fileOperations.willRename
|
local supports = workspaceCap
|
||||||
|
and workspaceCap.fileOperations
|
||||||
|
and workspaceCap.fileOperations.willRename
|
||||||
if supports then return true end
|
if supports then return true end
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue