Skip to content

Commit

Permalink
[WIP]: Wed Dec 13 11:28:07 AM EST 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdevries committed Dec 13, 2023
1 parent 7358784 commit b036b69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lua/sg/cody/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,7 @@ M.execute.autocomplete = function(file, line, character, callback)
)
end

-- // The completion was presented to the user, and will be logged for telemetry
-- // purposes.
-- // The completion was presented to the user
-- 'autocomplete/completionSuggested': [CompletionItemParams]
--
-- export interface CompletionItemParams {
Expand All @@ -434,8 +433,7 @@ M.execute.autocomplete_suggested = function(id)
return M.notify("autocomplete/completionSuggested", { completionID = id })
end

-- // The completion was accepted by the user, and will be logged for telemetry
-- // purposes.
-- // The completion was accepted by the user
-- 'autocomplete/completionAccepted': [CompletionItemParams]
M.execute.autocomplete_accepted = function(id)
return M.notify("autocomplete/completionAccepted", { completionID = id })
Expand Down
1 change: 1 addition & 0 deletions plugin/sg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ vim.api.nvim_create_user_command("SourcegraphLogin", function(command)

if endpoint == "https://sourcegraph.com/" then
local port = 52068
-- TODO: Change to NEOVIM when that goes live
local editor = "JETBRAINS"
local redirect = string.format("user/settings/tokens/new/callback?requestFrom=%s-%s", editor, port)

Expand Down

0 comments on commit b036b69

Please sign in to comment.