mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
refactor(flake): tidy up inputs attrset
This commit is contained in:
parent
7e87ede672
commit
4dfe6c4c33
9 changed files with 263 additions and 295 deletions
|
|
@ -2,32 +2,19 @@ return {
|
|||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
cmd = "Copilot",
|
||||
keys = {
|
||||
{
|
||||
'M-\\',
|
||||
'<cmd>Copilot panel<CR>',
|
||||
noremap = true,
|
||||
desc = 'Copilot panel'
|
||||
}
|
||||
},
|
||||
opts = {
|
||||
panel = {
|
||||
enabled = true,
|
||||
auto_refresh = true,
|
||||
auto_refresh = false,
|
||||
keymap = {
|
||||
jump_prev = "<C-p>",
|
||||
jump_next = "<C-n>",
|
||||
accept = "<C-y>",
|
||||
toggle = "<M-CR>"
|
||||
}
|
||||
},
|
||||
suggestion = {
|
||||
enabled = true,
|
||||
auto_trigger = true,
|
||||
hide_during_completion = true,
|
||||
keymap = {
|
||||
accept = "<M-]>",
|
||||
next = "<M-[>",
|
||||
},
|
||||
enabled = false,
|
||||
},
|
||||
completion = {
|
||||
documentation = {
|
||||
|
|
@ -52,10 +39,12 @@ return {
|
|||
python = true,
|
||||
ruby = true,
|
||||
sh = true,
|
||||
bash = true,
|
||||
javascript = true,
|
||||
puppet = true,
|
||||
yaml = true,
|
||||
markdown = true,
|
||||
["."] = false,
|
||||
["*"] = false,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue