We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d3760 commit f55bf8cCopy full SHA for f55bf8c
lua/copilot/client/init.lua
@@ -60,6 +60,11 @@ function M.buf_attach(force, bufnr)
60
return
61
end
62
63
+ if (not force) and util.get_buffer_attach_status(bufnr) == ATTACH_STATUS_MANUALLY_DETACHED then
64
+ logger.trace("buffer not attaching as it was manually detached")
65
+ return
66
+ end
67
+
68
if lsp.initialization_failed() then
69
logger.error("copilot-language-server failed to initialize")
70
M.startup_error = "initialization of copilot-language-server failed"
0 commit comments