We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56bd1c3 commit 2f0e3e1Copy full SHA for 2f0e3e1
1 file changed
lua/copilot/copilot_handler.lua
@@ -1,4 +1,3 @@
1
-local user_data = require("copilot.setup").get_cred()
2
local util = require("copilot.util")
3
local M = {}
4
@@ -8,10 +7,6 @@ capabilities.getCompletions = true
8
7
M.start = function(params)
9
vim.lsp.start_client({
10
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
- },
15
name = "copilot",
16
trace = "messages",
17
root_dir = vim.loop.cwd(),
0 commit comments