feat: add github/copilot.vim

This commit is contained in:
Matej Janezic 2025-10-11 20:39:27 +02:00
parent d076dcf093
commit 300cd3b567
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
2 changed files with 23 additions and 0 deletions

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

@ -0,0 +1,22 @@
local now_if_args = vim.fn.argc(-1) > 0 and MiniDeps.now or MiniDeps.later
now_if_args(function()
MiniDeps.add("github/copilot.vim")
vim.g.copilot_filetypes = {
-- disable all and only allow specific filetyps
["*"] = false,
--
c = true,
cpp = true,
dockerfile = true,
go = true,
javascript = true,
lua = true,
nix = true,
python = true,
rust = true,
sh = true,
typescript = true,
}
end)

View File

@ -1,4 +1,5 @@
return { return {
["copilot.vim"] = "da369d90cfd6c396b1d0ec259836a1c7222fb2ea",
["fzf-lua"] = "c0c0926eee09f2e7868e5b72cb66decc0cb13aca", ["fzf-lua"] = "c0c0926eee09f2e7868e5b72cb66decc0cb13aca",
["git-blame.nvim"] = "9874ec1ec8bc53beb33b7cd82c092b85271a578b", ["git-blame.nvim"] = "9874ec1ec8bc53beb33b7cd82c092b85271a578b",
["gitlinker.nvim"] = "cc59f732f3d043b626c8702cb725c82e54d35c25", ["gitlinker.nvim"] = "cc59f732f3d043b626c8702cb725c82e54d35c25",