diff --git a/init.lua b/init.lua index 406c6029..f1d32e75 100644 --- a/init.lua +++ b/init.lua @@ -190,17 +190,6 @@ require('lazy').setup({ event = 'VimEnter', -- Sets the loading event to 'VimEnter' config = function() -- This is the function that runs, AFTER loading require('which-key').setup() - - -- Document existing key chains - require('which-key').add { - { 'c', group = '[C]ode' }, - { 'd', group = '[D]ocument' }, - { 'r', group = '[R]ename' }, - { 's', group = '[S]earch' }, - { 'w', group = '[W]orkspace' }, - { 't', group = '[T]oggle' }, - { 'h', group = 'Git [H]unk', mode = { 'n', 'v' } }, - } end, }, diff --git a/lua/custom/plugins/copilot-cmp.lua b/lua/custom/plugins/copilot-cmp.lua index 560f181a..983da19c 100644 --- a/lua/custom/plugins/copilot-cmp.lua +++ b/lua/custom/plugins/copilot-cmp.lua @@ -7,9 +7,13 @@ return { require('copilot_cmp').setup() end, opts = { +<<<<<<< HEAD filetypes = { ['.'] = false, go = true, }, +======= + filetypes = { ['.'] = false }, +>>>>>>> 605d213 (disable copilot) }, } diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua index ca5fa63c..6fbac8a3 100644 --- a/lua/custom/plugins/copilot.lua +++ b/lua/custom/plugins/copilot.lua @@ -6,5 +6,9 @@ return { opts = { suggestion = { enabled = false }, panel = { enabled = false }, + filetypes = { + ['.'] = false, + go = true, + }, }, }