update
This commit is contained in:
35 files changed
+1155
-1236
No files matched your search
@@ -0,0 +1,45 @@
|
||||
local copilot = require('copilot')
|
||||
|
||||
copilot.setup({
|
||||
panel = {
|
||||
enabled = true,
|
||||
auto_refresh = false,
|
||||
keymap = {
|
||||
jump_prev = '[[',
|
||||
jump_next = ']]',
|
||||
accept = '<cr>',
|
||||
refresh = 'gr',
|
||||
open = '<M-cr>',
|
||||
},
|
||||
layout = {
|
||||
position = 'bottom',
|
||||
ratio = 0.4,
|
||||
},
|
||||
},
|
||||
suggestion = {
|
||||
enabled = true,
|
||||
auto_trigger = false,
|
||||
debounce = 75,
|
||||
keymap = {
|
||||
accept = '<M-l>',
|
||||
accept_word = false,
|
||||
accept_line = false,
|
||||
next = '<M-]>',
|
||||
prev = '<M-[>',
|
||||
dismiss = '<C-]>',
|
||||
},
|
||||
},
|
||||
filetypes = {
|
||||
yaml = true,
|
||||
markdown = true,
|
||||
help = true,
|
||||
gitcommit = true,
|
||||
gitrebase = true,
|
||||
hgcommit = true,
|
||||
svn = true,
|
||||
cvs = true,
|
||||
['.'] = true,
|
||||
},
|
||||
copilot_node_command = 'node', -- Node.js version must be > 16.x
|
||||
server_opts_overrides = {},
|
||||
})
|
||||
Reference in new issue
Block a user