Explorar o código

Merge remote-tracking branch 'origin/rolling' into release-candidate

kylo252 %!s(int64=3) %!d(string=hai) anos
pai
achega
a29e098598
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      lua/lvim/lsp/utils.lua

+ 3 - 1
lua/lvim/lsp/utils.lua

@@ -31,8 +31,10 @@ function M.get_client_capabilities(client_id)
         break
       end
     end
+  else
+    client = vim.lsp.get_client_by_id(tonumber(client_id))
   end
-  if not client_id then
+  if not client then
     error "Unable to determine client_id"
     return
   end