feat: add github/copilot.vim

This commit is contained in:
2025-10-11 20:39:27 +02:00
parent d076dcf093
commit 300cd3b567
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)