fix(nvim): make copilot work
This commit is contained in:
parent
15de473108
commit
7bcdc05c90
3
nvimrc
3
nvimrc
|
@ -648,6 +648,7 @@ lua <<EOF
|
|||
require('copilot').setup({
|
||||
panel = {
|
||||
enabled = false,
|
||||
auto_refresh = true,
|
||||
},
|
||||
suggestion = {
|
||||
enabled = false,
|
||||
|
@ -689,8 +690,8 @@ lua <<EOF
|
|||
['<CR>'] = cmp.mapping.confirm({ select = true, behaviour = cmp.ConfirmBehavior.Replace }),
|
||||
},
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'copilot', keyword_length = 0 },
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'copilot' },
|
||||
{
|
||||
name = 'buffer',
|
||||
option = {
|
||||
|
|
Loading…
Reference in New Issue