Skip to content

Commit 51562fe

Browse files
committed
feat(panel): notify accepted
1 parent 49860bd commit 51562fe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lua/copilot/panel.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ function panel:accept()
233233
vim.cmd("normal! $")
234234
end
235235

236+
api.notify_accepted(self.client, { uuid = entry.solutionId }, function() end)
237+
236238
vim.lsp.util.apply_text_edits({
237239
{ range = entry.range, newText = entry.completionText },
238240
}, 0, "utf-16")

0 commit comments

Comments
 (0)