-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Labels
bugSomething isn't workingSomething isn't workingexternal issueCaused by an external package or componentCaused by an external package or component
Description
Hi I have been trying to authenticate copilot using Permanent sigin-in, but have not been able to. I am able to verify the code that I get from running Copilot auth
, but once I complete the auth flow successfully, the message box in nvim doesn't go away and I have to quite nvim. And when I open it again, and run Copilot status
, it ask me to run auth command again.
I have tried completing the flow with chrome/firefox installed in wsl, but end up with same result. The auth flow in browser is successful, but the event doesn't trigger the nvim.
I am using Nvim in wsl.
2025-05-05 10:34:28.191 [1] [DEBUG]: active plugin config:
{
copilot_model = "",
copilot_node_command = "node",
filetypes = {
["."] = false,
cvs = false,
gitcommit = false,
gitrebase = false,
help = false,
hgcommit = false,
markdown = false,
svn = false,
yaml = false
},
logger = {
file = "/home/dani/.local/state/nvim/copilot-lua.log",
file_log_level = 1,
log_lsp_messages = true,
print_log_level = 2,
trace_lsp = "verbose",
trace_lsp_progress = true
},
merge_with_user_configs = <function 1>,
panel = {
auto_refresh = false,
enabled = true,
keymap = {
accept = "<CR>",
jump_next = "]]",
jump_prev = "[[",
open = "<M-CR>",
refresh = "gr"
},
layout = {
position = "bottom",
ratio = 0.4
}
},
root_dir = <function 2>,
server = {
type = "nodejs"
},
server_opts_overrides = {},
should_attach = <function 3>,
suggestion = {
auto_trigger = false,
debounce = 75,
enabled = true,
hide_during_completion = true,
keymap = {
accept = "<M-l>",
accept_line = false,
accept_word = false,
dismiss = "<C-]>",
next = "<M-]>",
prev = "<M-[>"
},
trigger_on_accept = true
},
validate = <function 4>,
workspace_folders = {}
}
2025-05-05 10:34:28.192 [2] [DEBUG]: active LSP config (may change runtime):
{
capabilities = {
general = {
positionEncodings = { "utf-8", "utf-16", "utf-32" }
},
textDocument = {
callHierarchy = {
dynamicRegistration = false
},
codeAction = {
codeActionLiteralSupport = {
codeActionKind = {
valueSet = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" }
}
},
dataSupport = true,
dynamicRegistration = true,
isPreferredSupport = true,
resolveSupport = {
properties = { "edit", "command" }
}
},
codeLens = {
dynamicRegistration = false,
resolveSupport = {
properties = { "command" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = true,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
resolveSupport = {
properties = { "additionalTextEdits", "command" }
},
snippetSupport = true,
tagSupport = {
valueSet = { 1 }
}
},
completionItemKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }
},
completionList = {
itemDefaults = { "editRange", "insertTextFormat", "insertTextMode", "data" }
},
contextSupport = true,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
dynamicRegistration = true,
linkSupport = true
},
diagnostic = {
dynamicRegistration = false
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
hierarchicalDocumentSymbolSupport = true,
symbolKind = {
valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }
}
},
foldingRange = {
dynamicRegistration = false,
foldingRange = {
collapsedText = true
},
lineFoldingOnly = true
},
formatting = {
dynamicRegistration = true
},
hover = {
contentFormat = { "markdown", "plaintext" },
dynamicRegistration = true
},
implementation = {
linkSupport = true
},
inlayHint = {
dynamicRegistration = true,
resolveSupport = {
properties = { "textEdits", "tooltip", "location", "command" }
}
},
publishDiagnostics = {
dataSupport = true,
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
rangeFormatting = {
dynamicRegistration = true,
rangesSupport = true
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = true,
prepareSupport = true
},
semanticTokens = {
augmentsSyntaxTokens = true,
dynamicRegistration = false,
formats = { "relative" },
multilineTokenSupport = false,
overlappingTokenSupport = true,
requests = {
full = {
delta = true
},
range = false
},
serverCancelSupport = false,
tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary" },
tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" }
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = true,
willSaveWaitUntil = true
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = true
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = true
}
},
workDoneProgress = true
},
workspace = {
workspaceFolders = true
}
},
cmd = { "node", "/home/dani/.local/share/nvim/lazy/copilot.lua/copilot/js/language-server.js", "--stdio" },
get_language_id = <function 1>,
handlers = {
["$/logTrace"] = <function 2>,
["$/progress"] = <function 3>,
PanelSolution = <function 4>,
PanelSolutionsDone = <function 5>,
statusNotification = <function 6>,
["window/logMessage"] = <function 7>
},
init_options = {
editorInfo = {
name = "Neovim",
version = "0.11.0"
},
editorPluginInfo = {
name = "copilot.lua",
version = "1.308.0"
}
},
name = "copilot",
on_exit = <function 8>,
on_init = <function 9>,
root_dir = "/home/dani/code/rbay",
settings = {
telemetry = {
telemetryLevel = "all"
}
},
workspace_folders = { {
name = "/home/dani/code/rbay",
uri = "file:///home/dani/code/rbay"
} }
}
2025-05-05 10:34:28.200 [3] [DEBUG]: not attaching, buffer is not 'buflisted'
2025-05-05 10:34:28.200 [4] [DEBUG]: not attaching to buffer based on force and should_attach criteria
2025-05-05 10:34:34.650 [5] [INFO]: LSP message: [lsp] GitHub Copilot Language Server 1.308.0 initialized
2025-05-05 10:35:02.225 [6] [INFO]: LSP message: [certificates] Removed 1 expired certificates
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingexternal issueCaused by an external package or componentCaused by an external package or component