Skip to content

Commit 4db702f

Browse files
committed
chore: use vim.lsp.start instead of vim.lsp.start_client
Summary: vim.lsp.start_client is deprecated in favor of vim.lsp.start. This commit updates the code to use the new function.
1 parent a9228e0 commit 4db702f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/_copilot.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ copilot.lsp_start_client = function(cmd, handler_names, opts, settings)
2828
if #workspace_folders == 0 then
2929
workspace_folders = nil
3030
end
31-
id = vim.lsp.start_client({
31+
id = vim.lsp.start({
3232
cmd = cmd,
3333
cmd_cwd = vim.call('copilot#job#Cwd'),
3434
name = 'GitHub Copilot',

0 commit comments

Comments
 (0)