mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
39 lines
791 B
Lua
39 lines
791 B
Lua
|
require('copilot').setup({
|
||
|
panel = {
|
||
|
enabled = true,
|
||
|
auto_refresh = false,
|
||
|
keymap = {
|
||
|
jump_prev = "[[",
|
||
|
jump_next = "]]",
|
||
|
accept = "<CR>",
|
||
|
refresh = "gr",
|
||
|
open = "<S-CR>"
|
||
|
},
|
||
|
},
|
||
|
suggestion = {
|
||
|
enabled = true,
|
||
|
auto_trigger = false,
|
||
|
debounce = 75,
|
||
|
keymap = {
|
||
|
accept = "<M-l>",
|
||
|
next = "<M-]>",
|
||
|
prev = "<M-[>",
|
||
|
dismiss = "<C-]>",
|
||
|
},
|
||
|
},
|
||
|
filetypes = {
|
||
|
yaml = false,
|
||
|
markdown = false,
|
||
|
help = false,
|
||
|
gitcommit = false,
|
||
|
gitrebase = false,
|
||
|
hgcommit = false,
|
||
|
svn = false,
|
||
|
cvs = false,
|
||
|
["."] = false,
|
||
|
},
|
||
|
copilot_node_command = 'node', -- Node version must be < 18
|
||
|
plugin_manager_path = vim.fn.stdpath("data") .. "/site/pack/packer",
|
||
|
server_opts_overrides = {},
|
||
|
})
|