feat: add github/copilot.vim
This commit is contained in:
22
lua/plugins/copilot.lua
Normal file
22
lua/plugins/copilot.lua
Normal 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)
|
Reference in New Issue
Block a user