parent
1353937b22
commit
2ed13b49f6
4 changed files with 2 additions and 14 deletions
|
@ -35,7 +35,6 @@ cmp.setup {
|
||||||
end, { 'i', 's' }),
|
end, { 'i', 's' }),
|
||||||
}),
|
}),
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'copilot' },
|
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
vim.api.nvim_create_autocmd("BufEnter", {
|
|
||||||
callback = function()
|
|
||||||
vim.defer_fn(function()
|
|
||||||
require("copilot").setup()
|
|
||||||
end, 100)
|
|
||||||
end
|
|
||||||
})
|
|
|
@ -36,15 +36,11 @@ in {
|
||||||
plugin = vim-airline;
|
plugin = vim-airline;
|
||||||
config = "lua dofile(\"${./airline.lua}\")";
|
config = "lua dofile(\"${./airline.lua}\")";
|
||||||
}
|
}
|
||||||
|
copilot-vim
|
||||||
rust-vim # for proper syntax highlighting
|
rust-vim # for proper syntax highlighting
|
||||||
luasnip
|
luasnip
|
||||||
cmp-nvim-lsp
|
cmp-nvim-lsp
|
||||||
cmp_luasnip
|
cmp_luasnip
|
||||||
{
|
|
||||||
plugin = pkgs.copilot-lua;
|
|
||||||
config = "lua dofile(\"${./copilot-lua.lua}\")";
|
|
||||||
}
|
|
||||||
pkgs.copilot-cmp
|
|
||||||
{
|
{
|
||||||
plugin = nvim-cmp;
|
plugin = nvim-cmp;
|
||||||
config = "lua dofile(\"${./cmp.lua}\")";
|
config = "lua dofile(\"${./cmp.lua}\")";
|
||||||
|
|
|
@ -65,7 +65,7 @@ in {
|
||||||
*/
|
*/
|
||||||
inherit (noto-variable) noto-fonts-cjk;
|
inherit (noto-variable) noto-fonts-cjk;
|
||||||
inherit (go116) buildGo116Module;
|
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: {
|
kitty = prev.kitty.overrideAttrs (old: {
|
||||||
patches =
|
patches =
|
||||||
old.patches
|
old.patches
|
||||||
|
|
Loading…
Reference in a new issue