Revert "add copilot.lua"

This reverts commit 39650b47d8.
This commit is contained in:
Charlotte 🦝 Delenk 2022-06-27 13:23:54 +01:00
parent 1353937b22
commit 2ed13b49f6
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
4 changed files with 2 additions and 14 deletions

View file

@ -35,7 +35,6 @@ cmp.setup {
end, { 'i', 's' }),
}),
sources = {
{ name = 'copilot' },
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
},

View file

@ -1,7 +0,0 @@
vim.api.nvim_create_autocmd("BufEnter", {
callback = function()
vim.defer_fn(function()
require("copilot").setup()
end, 100)
end
})

View file

@ -36,15 +36,11 @@ in {
plugin = vim-airline;
config = "lua dofile(\"${./airline.lua}\")";
}
copilot-vim
rust-vim # for proper syntax highlighting
luasnip
cmp-nvim-lsp
cmp_luasnip
{
plugin = pkgs.copilot-lua;
config = "lua dofile(\"${./copilot-lua.lua}\")";
}
pkgs.copilot-cmp
{
plugin = nvim-cmp;
config = "lua dofile(\"${./cmp.lua}\")";

View file

@ -65,7 +65,7 @@ in {
*/
inherit (noto-variable) noto-fonts-cjk;
inherit (go116) buildGo116Module;
inherit (nix-packages.packages.${system}) plover plover-plugins-manager regenpfeifer plover-regenpfeifer lotte-art copilot-lua copilot-cmp;
inherit (nix-packages.packages.${system}) plover plover-plugins-manager regenpfeifer plover-regenpfeifer lotte-art;
kitty = prev.kitty.overrideAttrs (old: {
patches =
old.patches