Make copilot work with cmp
This commit is contained in:
parent
eac04f8fca
commit
e6d978fc38
2 changed files with 30 additions and 2 deletions
7
init.lua
7
init.lua
|
@ -1,3 +1,6 @@
|
|||
local cmp = require('cmp')
|
||||
-- Never gonna give you up
|
||||
-- Never gonna
|
||||
-- AstroNvim Configuration Table
|
||||
-- All configuration changes should go inside of the table below
|
||||
|
||||
|
@ -271,7 +274,7 @@ local config = {
|
|||
-- ["<esc>"] = false,
|
||||
},
|
||||
i = {
|
||||
["<C-e>"] = { "copilot#Accept('<CR>')", silent = true, expr = true },
|
||||
-- ["<Tab>"] = { "copilot#Accept('<CR>')", silent = true, expr = true },
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -292,7 +295,7 @@ local config = {
|
|||
-- end,
|
||||
-- },
|
||||
--
|
||||
{
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue