diff --git a/lua/plugins.lua b/lua/plugins.lua index d29dfee..eb6de64 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -67,6 +67,8 @@ packer.startup({ use('rafamadriz/friendly-snippets') -- wakatime use('wakatime/vim-wakatime') + -- github + use('github/copilot.vim') -- 代码格式化 --use("mhartington/formatter.nvim") use({ 'jose-elias-alvarez/null-ls.nvim', requires = 'nvim-lua/plenary.nvim' }) diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index a5ab597..24c3460 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -99,6 +99,11 @@ _G.packer_plugins = { path = "/Users/busyhe/.local/share/nvim/site/pack/packer/start/cmp-vsnip", url = "https://github.com/hrsh7th/cmp-vsnip" }, + ["copilot.vim"] = { + loaded = true, + path = "/Users/busyhe/.local/share/nvim/site/pack/packer/start/copilot.vim", + url = "https://github.com/github/copilot.vim" + }, ["dashboard-nvim"] = { loaded = true, path = "/Users/busyhe/.local/share/nvim/site/pack/packer/start/dashboard-nvim",