2023-09-18 07:20:52 +01:00
|
|
|
require('copilot').setup({
|
|
|
|
suggestion = {
|
|
|
|
enabled = true,
|
|
|
|
auto_trigger = true,
|
|
|
|
debounce = 75,
|
|
|
|
keymap = {
|
|
|
|
accept = "<C-h>",
|
|
|
|
accept_word = false,
|
|
|
|
accept_line = false,
|
|
|
|
next = "<M-]>",
|
|
|
|
prev = "<M-[>",
|
|
|
|
dismiss = "<C-]>",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
filetypes = {
|
|
|
|
yaml = false,
|
2024-03-03 16:58:37 +00:00
|
|
|
markdown = true,
|
2023-09-18 07:20:52 +01:00
|
|
|
help = false,
|
|
|
|
gitcommit = false,
|
|
|
|
gitrebase = false,
|
|
|
|
hgcommit = false,
|
|
|
|
svn = false,
|
|
|
|
cvs = false,
|
|
|
|
["."] = false,
|
|
|
|
},
|
|
|
|
copilot_node_command = 'node', -- Node.js version must be > 16.x
|
|
|
|
server_opts_overrides = {},
|
|
|
|
})
|