improving startup time by using lazy loading or filetype loading
This commit is contained in:
parent
bdb655c5a1
commit
7f1b34fd6f
62 changed files with 1285 additions and 561 deletions
19
lua/custom/plugins/copilot.lua
Normal file → Executable file
19
lua/custom/plugins/copilot.lua
Normal file → Executable file
|
|
@ -1,3 +1,20 @@
|
|||
return {
|
||||
'github/copilot.vim',
|
||||
'zbirenbaum/copilot.lua',
|
||||
cmd = 'Copilot',
|
||||
event = 'InsertEnter',
|
||||
opts = {
|
||||
suggestion = {
|
||||
auto_trigger = true,
|
||||
filetypes = {
|
||||
['.'] = true,
|
||||
},
|
||||
keymap = {
|
||||
accept_word = '<M-k>',
|
||||
accept_line = '<M-j>',
|
||||
next = 'M-[',
|
||||
previous = 'M-]',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue