Browse Source

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

kylo252 3 years ago
parent
commit
a29e098598
1 changed files with 3 additions and 1 deletions
  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