Skip to content

Commit 2f0e3e1

Browse files
committed
remove authentication step
1 parent 56bd1c3 commit 2f0e3e1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lua/copilot/copilot_handler.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
local user_data = require("copilot.setup").get_cred()
21
local util = require("copilot.util")
32
local M = {}
43

@@ -8,10 +7,6 @@ capabilities.getCompletions = true
87
M.start = function(params)
98
vim.lsp.start_client({
109
cmd = { require("copilot.util").get_copilot_path(params.plugin_manager_path) },
11-
cmd_env = {
12-
["GITHUB_USER"] = user_data.user,
13-
["GITHUB_TOKEN"] = user_data.token,
14-
},
1510
name = "copilot",
1611
trace = "messages",
1712
root_dir = vim.loop.cwd(),

0 commit comments

Comments
 (0)