chore(nvim): added custom plugins

This commit is contained in:
Juliano Barbosa 2024-08-22 16:33:31 -03:00
parent aaf791cebc
commit 2863dca316
No known key found for this signature in database
GPG key ID: EB8B440F57360B3D
8 changed files with 99 additions and 8 deletions

View file

@ -1,12 +1,5 @@
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
end,
opts = {
suggestion = { enabled = false },
panel = { enabled = false },
@ -17,4 +10,12 @@ return {
help = true,
},
},
build = ':Copilot auth',
config = function()
vim.keymap.set('i', '<C-J>', 'copilot#Accept("\\<CR>")', {
expr = true,
replace_keycodes = false,
})
vim.g.copilot_no_tab_map = true
end,
}