We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d56d43 commit cb4e3bcCopy full SHA for cb4e3bc
2 files changed
lua/copilot/api.lua
@@ -28,7 +28,7 @@ end
28
---@return boolean sent
29
function mod.notify(client, method, params)
30
logger.trace("api notify:", method, params)
31
- return client.notify(method, params)
+ return client:notify(method, params)
32
end
33
34
---@alias copilot_editor_info { name: string, version: string }
lua/copilot/client.lua
@@ -434,7 +434,7 @@ function M.add_workspace_folder(folder_path)
434
435
local client = M.get()
436
if client and client.initialized then
437
- client.notify("workspace/didChangeWorkspaceFolders", {
+ client:notify("workspace/didChangeWorkspaceFolders", {
438
event = {
439
added = { workspace_folder },
440
removed = {},
0 commit comments