added copilot

This commit is contained in:
Oliver Hartmann
2024-07-25 08:48:11 +02:00
parent a404864548
commit 0e0308a42d
2 changed files with 27 additions and 1 deletions

24
lua/plugins/copilot.lua Normal file
View File

@ -0,0 +1,24 @@
return {
'zbirenbaum/copilot.lua',
cmd = 'Copilot',
event = 'InsertEnter',
config = function()
require('copilot').setup({
filetypes = {
yaml = false,
markdown = false,
help = false,
gitcommit = false,
gitrebase = false,
hgcommit = false,
svn = false,
cvs = false,
cpp = true,
['.'] = false,
},
suggestion = { enabled = false },
panel = { enabled = false },
})
end,
}