Skip to content

Commit 05d7fad

Browse files
committed
feat: added copilot
1 parent 40dee05 commit 05d7fad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎lua/plugins/github-copilot.lua‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
return {
2+
'github/copilot.vim',
3+
init = function()
4+
vim.g.copilot_no_tab_map = true
5+
end,
6+
config = function()
7+
vim.keymap.set('i', '<C-e>', [[copilot#Accept("\<CR>")]], {
8+
silent = true,
9+
expr = true,
10+
script = true,
11+
replace_keycodes = false,
12+
})
13+
end,
14+
}

0 commit comments

Comments
 (0)