From 7bcdc05c9078453cd593b56380875c87af23bb67 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 17 Sep 2023 08:17:46 +0200 Subject: [PATCH] fix(nvim): make copilot work --- nvimrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nvimrc b/nvimrc index fab337b..649c1b9 100644 --- a/nvimrc +++ b/nvimrc @@ -646,9 +646,10 @@ packadd! copilot.lua " https://github.com/zbirenbaum/copilot.lua.git lua <'] = 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 = {