feat: Initial commit
This commit is contained in:
35
lua/user/plugins/copilot.lua
Normal file
35
lua/user/plugins/copilot.lua
Normal file
@ -0,0 +1,35 @@
|
||||
-- Github Copilot
|
||||
|
||||
-- Official plugin
|
||||
-- https://docs.github.com/fr/copilot/getting-started-with-github-copilot?tool=neovim
|
||||
-- return {
|
||||
-- {
|
||||
-- "github/copilot.vim",
|
||||
-- config = function()
|
||||
-- require("_copilot").setup() -- NOT WORKING
|
||||
-- end,
|
||||
-- event = "InsertEnter",
|
||||
-- },
|
||||
-- }
|
||||
--
|
||||
|
||||
|
||||
-- Alternative plugin in pure lua
|
||||
-- https://github.com/zbirenbaum/copilot.lua
|
||||
return {
|
||||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
cmd = "Copilot",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("copilot").setup()
|
||||
end,
|
||||
}
|
||||
,
|
||||
{
|
||||
"zbirenbaum/copilot-cmp",
|
||||
config = function()
|
||||
require("copilot_cmp").setup()
|
||||
end
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user