소스 검색

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

kylo252 3 년 전
부모
커밋
a29e098598
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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
         break
       end
       end
     end
     end
+  else
+    client = vim.lsp.get_client_by_id(tonumber(client_id))
   end
   end
-  if not client_id then
+  if not client then
     error "Unable to determine client_id"
     error "Unable to determine client_id"
     return
     return
   end
   end