a bunch of stuff added . . .
This commit is contained in:
parent
2e68a2c253
commit
5887fc58e2
10 changed files with 101 additions and 34 deletions
14
lua/custom/plugins/copilot.lua
Normal file
14
lua/custom/plugins/copilot.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
'github/copilot.vim',
|
||||
lazy = false,
|
||||
init = function()
|
||||
local map = vim.api.nvim_set_keymap
|
||||
|
||||
map('i', '<C-o>', 'copilot#Accept("<CR>")', { expr = true, silent = true })
|
||||
end,
|
||||
config = function()
|
||||
vim.g.copilot_no_tab_map = true
|
||||
vim.g.copilot_assume_mapped = true
|
||||
vim.g.copilot_tab_fallback = ''
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue