-
Select Topic AreaBug BodySetupHi there 👋 NVIM v0.9.4
Build type: Release
Linux VM-Processor 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP but also in WSL2 with Ubuntu 22.04.
I am using Lazy as my plugin manager for nvim. You can see my exact configuration here BugI have the following configuration from Lazy for copilot, you can see my configuration over there 👆 if you want more details (or ask me if you prefer): return {
"github/copilot.vim",
config = function()
vim.keymap.set("i", "<C-j>", 'copilot#Accept("\\<CR>")', {
expr = true,
replace_keycodes = false,
})
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
end,
} The problem is, when a suggestion appear, when I press Tab key, it accept it, I do not know what to do and I try reading a bunch of forums and answers, if anyone could help me it would be amazing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I suspect what's happening is the |
Beta Was this translation helpful? Give feedback.
Check
:verbose imap <Tab>
to confirm thatplugin/copilot.vim
is indeed defining the map. Make sure it's the right path (i.e., that you don't have 2 versions of the plugin installed.)Check
:scriptnames
to see what order runtime files are loading. Make sure the file that sets the variable loads before any file from Copilot.vim.