Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
vegerot committed Mar 30, 2025
commit 4db702fb2fc20eef8f8f020b1354e7351d7fa882
2 changes: 1 addition & 1 deletion lua/_copilot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ copilot.lsp_start_client = function(cmd, handler_names, opts, settings)
if #workspace_folders == 0 then
workspace_folders = nil
end
id = vim.lsp.start_client({
id = vim.lsp.start({
cmd = cmd,
cmd_cwd = vim.call('copilot#job#Cwd'),
name = 'GitHub Copilot',
Expand Down