Skip to content

Copilot not attaching to buffer #576

@serhez

Description

@serhez

Copilot is not attaching to any buffer. It keeps trying to attach to an endless list of buffers, which should not exist because I only had 6 buffers open at the time of recording the logs I share below. I am using the latest version of the plugin and nvim version 0.11.4 (latest). The copilot LSP server is installed. I have been having this problem (Copilot not attaching and not suggesting any inline completions) for maybe 2-4 weeks now, so I do not think it should be any super recent commits that cause this.

My config:

local M = {
	"zbirenbaum/copilot.lua",
	cmd = "Copilot",
	requires = {
		"copilotlsp-nvim/copilot-lsp", -- for NES functionality
	},
	-- event = "VeryLazy",
	event = "InsertEnter",
}

vim.g.copilot_loaded = false

function M.init()
	require("mappings").register({
		{ "<leader>ao", "<cmd>Copilot panel<cr>", desc = "Copilot options" },
		{ "<leader>at", "<cmd>Copilot toggle<cr>", desc = "Toggle copilot" },
	})
end

function M.config()
	require("copilot").setup({
		panel = {
			enabled = true,
			auto_refresh = true,
			keymap = {
				jump_prev = "[[",
				jump_next = "]]",
				accept = "<CR>",
				refresh = "r",
				open = "<C-o>",
			},
			layout = {
				position = "bottom",
				ratio = 0.33,
			},
		},
		suggestion = {
			enabled = true,
			auto_trigger = true,
			hide_during_completion = false,
			keymap = {
				accept = "<C-l>",
				next = "<C-j>",
				prev = "<C-k>",
				dismiss = "<C-h>",
			},
		},
		nes = {
			enabled = true, -- requires copilot-lsp as a dependency
			auto_trigger = true,
			keymap = {
				accept_and_goto = "<C-CR>",
				accept = "<C-g>",
				dismiss = false,
			},
		},
		filetypes = {
			yaml = true,
			markdown = false,
			help = false,
			gitcommit = false,
			gitrebase = false,
			hgcommit = false,
			svn = false,
			cvs = false,
			["."] = false,
		},
		-- logger = {
		-- 	-- print_log_level = vim.log.levels.OFF, -- disable annoying messages when no internet
		-- },
		logger = {
			file_log_level = vim.log.levels.TRACE,
			print_log_level = vim.log.levels.WARN,
			trace_lsp = "verbose",
			log_lsp_messages = true,
			trace_lsp_progress = true,
		},

		server_opts_overrides = {
			autostart = true,
		},
	})

	vim.g.copilot_loaded = true
end

return M

Copilot logs (they endlessly continue printing...):

 Trace  12:13:24 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:24 notify.trace [Copilot.lua] request to attach buffer #6
 Trace  12:13:24 notify.trace [Copilot.lua] buffer already attached
 Trace  12:13:24 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:24 notify.trace [Copilot.lua] request to attach buffer #9
 Trace  12:13:24 notify.trace [Copilot.lua] attaching to buffer
 Trace  12:13:24 notify.trace [Copilot.lua] No existing keymap for 9:i:<C-l>
 Trace  12:13:24 notify.trace [Copilot.lua] No existing keymap for 9:i:<C-h>
 Trace  12:13:24 notify.trace [Copilot.lua] No existing keymap for 9:n:<C-CR>
 Trace  12:13:24 notify.trace [Copilot.lua] No existing keymap for 9:n:<C-g>
 Trace  12:13:24 notify.trace [Copilot.lua] buffer attached
 Trace  12:13:26 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:26 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:26 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:26 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:26 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:26 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:26 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:26 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:26 notify.trace [Copilot.lua] request to attach buffer #13
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:26 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:26 notify.trace [Copilot.lua] request to attach buffer #14
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:26 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:26 notify.trace [Copilot.lua] request to attach buffer #15
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:26 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:26 notify.trace [Copilot.lua] request to attach buffer #16
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:26 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:26 notify.trace [Copilot.lua] request to attach buffer #17
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:26 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:32 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:33 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:33 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:33 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:33 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:33 notify.trace [Copilot.lua] request to attach buffer #134
 Debug  12:13:33 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:33 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:41 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:41 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:41 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:41 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:41 notify.trace [Copilot.lua] request to attach buffer #370
 Debug  12:13:41 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:41 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:45 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:45 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:45 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:45 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:45 notify.trace [Copilot.lua] request to attach buffer #372
 Debug  12:13:45 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:45 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:49 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:49 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:49 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:49 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:49 notify.trace [Copilot.lua] request to attach buffer #374
 Debug  12:13:49 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:49 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:53 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:53 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:53 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:53 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:53 notify.trace [Copilot.lua] request to attach buffer #376
 Debug  12:13:53 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:53 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:13:57 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:57 notify.trace [Copilot.lua] suggestion new context
 Trace  12:13:58 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:13:58 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:13:58 notify.trace [Copilot.lua] request to attach buffer #378
 Debug  12:13:58 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:13:58 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:02 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:02 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:02 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:02 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:02 notify.trace [Copilot.lua] request to attach buffer #380
 Debug  12:14:02 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:02 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:06 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:06 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:06 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:06 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:06 notify.trace [Copilot.lua] request to attach buffer #382
 Debug  12:14:06 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:06 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:10 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:10 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:10 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:10 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:10 notify.trace [Copilot.lua] request to attach buffer #384
 Debug  12:14:10 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:10 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:14 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:14 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:14 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:14 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:14 notify.trace [Copilot.lua] request to attach buffer #386
 Debug  12:14:14 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:14 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:18 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:18 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:18 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:18 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:18 notify.trace [Copilot.lua] request to attach buffer #388
 Debug  12:14:18 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:18 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:22 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:22 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:22 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:22 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:22 notify.trace [Copilot.lua] request to attach buffer #390
 Debug  12:14:22 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:22 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:26 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:26 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:26 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:26 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:26 notify.trace [Copilot.lua] request to attach buffer #392
 Debug  12:14:26 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:26 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:30 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:30 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:30 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:30 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:30 notify.trace [Copilot.lua] request to attach buffer #394
 Debug  12:14:30 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:30 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:34 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:34 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:34 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:34 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:34 notify.trace [Copilot.lua] request to attach buffer #396
 Debug  12:14:34 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:34 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:38 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:38 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:38 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:38 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:38 notify.trace [Copilot.lua] request to attach buffer #398
 Debug  12:14:38 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:38 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:42 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:42 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:42 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:42 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:42 notify.trace [Copilot.lua] request to attach buffer #400
 Debug  12:14:42 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:42 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:46 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:46 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:46 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:46 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:46 notify.trace [Copilot.lua] request to attach buffer #402
 Debug  12:14:46 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:46 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:50 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:50 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:50 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:50 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:50 notify.trace [Copilot.lua] request to attach buffer #404
 Debug  12:14:50 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:50 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:54 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:54 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:54 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:54 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:54 notify.trace [Copilot.lua] request to attach buffer #406
 Debug  12:14:54 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:54 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:14:58 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:58 notify.trace [Copilot.lua] suggestion new context
 Trace  12:14:58 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:14:58 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:14:58 notify.trace [Copilot.lua] request to attach buffer #408
 Debug  12:14:58 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:14:58 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:02 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:02 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:03 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:03 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:03 notify.trace [Copilot.lua] request to attach buffer #410
 Debug  12:15:03 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:03 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:07 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:07 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:07 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:07 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:07 notify.trace [Copilot.lua] request to attach buffer #412
 Debug  12:15:07 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:07 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:11 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:11 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:11 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:11 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:11 notify.trace [Copilot.lua] request to attach buffer #414
 Debug  12:15:11 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:11 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:15 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:15 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:15 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:15 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:15 notify.trace [Copilot.lua] request to attach buffer #416
 Debug  12:15:15 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:15 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:19 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:19 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:19 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:19 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:19 notify.trace [Copilot.lua] request to attach buffer #418
 Debug  12:15:19 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:19 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:23 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:23 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:23 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:23 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:23 notify.trace [Copilot.lua] request to attach buffer #420
 Debug  12:15:23 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:23 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:27 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:27 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:27 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:27 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:27 notify.trace [Copilot.lua] request to attach buffer #422
 Debug  12:15:27 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:27 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:31 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:31 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:31 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:31 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:31 notify.trace [Copilot.lua] request to attach buffer #424
 Debug  12:15:31 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:31 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:35 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:35 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:35 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:35 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:35 notify.trace [Copilot.lua] request to attach buffer #426
 Debug  12:15:35 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:35 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:39 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:39 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:39 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:39 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:39 notify.trace [Copilot.lua] request to attach buffer #428
 Debug  12:15:39 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:39 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:43 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:43 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:43 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:43 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:43 notify.trace [Copilot.lua] request to attach buffer #430
 Debug  12:15:43 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:43 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:47 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:47 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:47 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:47 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:47 notify.trace [Copilot.lua] request to attach buffer #432
 Debug  12:15:47 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:47 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:51 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:51 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:51 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:51 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:51 notify.trace [Copilot.lua] request to attach buffer #434
 Debug  12:15:51 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:51 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:55 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:55 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:55 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:55 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:55 notify.trace [Copilot.lua] request to attach buffer #436
 Debug  12:15:55 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:55 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:15:59 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:59 notify.trace [Copilot.lua] suggestion new context
 Trace  12:15:59 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:15:59 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:15:59 notify.trace [Copilot.lua] request to attach buffer #438
 Debug  12:15:59 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:15:59 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:16:03 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:03 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:04 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:16:04 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:16:04 notify.trace [Copilot.lua] request to attach buffer #440
 Debug  12:16:04 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:16:04 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:16:08 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:08 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:08 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:16:08 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:16:08 notify.trace [Copilot.lua] request to attach buffer #442
 Debug  12:16:08 notify.debug [Copilot.lua] not attaching, buffer is not 'buflisted'
 Debug  12:16:08 notify.debug [Copilot.lua] not attaching to buffer based should_attach criteria: should_attach config
 Trace  12:16:09 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:13 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:13 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:13 notify.trace [Copilot.lua] filetype autocmd called
 Trace  12:16:13 notify.trace [Copilot.lua] filetype changed, detaching and re-attaching
 Trace  12:16:13 notify.trace [Copilot.lua] request to attach buffer #444
 Trace  12:16:13 notify.trace [Copilot.lua] attaching to buffer
 Trace  12:16:13 notify.trace [Copilot.lua] No existing keymap for 444:i:<C-l>
 Trace  12:16:13 notify.trace [Copilot.lua] No existing keymap for 444:i:<C-h>
 Trace  12:16:13 notify.trace [Copilot.lua] No existing keymap for 444:n:<C-CR>
 Trace  12:16:13 notify.trace [Copilot.lua] No existing keymap for 444:n:<C-g>
 Trace  12:16:13 notify.trace [Copilot.lua] buffer attached
 Trace  12:16:14 notify.trace [Copilot.lua] suggestion new context
 Trace  12:16:14 notify.trace [Copilot.lua] suggestion new context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions