re-enable copilot

This commit is contained in:
Joshua Nussbaum 2025-03-12 09:26:09 -05:00
parent b8233f8abe
commit 9f4e4344b6
No known key found for this signature in database
GPG Key ID: BC97EA6E7D9C77AF
2 changed files with 21 additions and 33 deletions

View File

@ -1,20 +1,12 @@
if true then
return {}
else
return {
'zbirenbaum/copilot-cmp',
config = function()
require('copilot_cmp').setup()
end,
opts = {
filetypes = {
['.'] = false,
go = true,
},
},
}
end
return { return {
'https://github.com/mbbill/undotree', 'zbirenbaum/copilot-cmp',
} config = function()
require('copilot_cmp').setup()
end,
opts = {
filetypes = {
['.'] = false,
go = true,
},
},

View File

@ -1,15 +1,11 @@
if true then return {
return {} 'zbirenbaum/copilot.lua',
else opts = {
return { suggestion = { enabled = false },
'zbirenbaum/copilot.lua', panel = { enabled = false },
opts = { filetypes = {
suggestion = { enabled = false }, ['.'] = false,
panel = { enabled = false }, go = true,
filetypes = {
['.'] = false,
go = true,
},
}, },
} },
end }