We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71dcea commit b16f659Copy full SHA for b16f659
1 file changed
lua/copilot/copilot_handler.lua
@@ -39,7 +39,6 @@ M.start = function(params)
39
root_dir = vim.loop.cwd(),
40
autostart = true,
41
on_init = function(client, _)
42
- send_editor_info()
43
vim.lsp.buf_attach_client(0, client.id)
44
if vim.fn.has("nvim-0.7") then
45
vim.api.nvim_create_autocmd({ "BufEnter" }, {
@@ -51,6 +50,7 @@ M.start = function(params)
51
50
else
52
vim.cmd("au BufEnter * lua require('copilot.util').attach_copilot()")
53
end
+ send_editor_info()
54
end,
55
on_attach = function()
56
vim.schedule(function()
0 commit comments