feat: remove cmp-spell and copilot nvim plugins
parent
928f8b77fa
commit
82e64e198f
|
@ -38,7 +38,6 @@ in
|
||||||
{ plugin = pkgs.vimPlugins.cmp-cmdline; }
|
{ plugin = pkgs.vimPlugins.cmp-cmdline; }
|
||||||
{ plugin = pkgs.vimPlugins.cmp-nvim-lsp-signature-help; }
|
{ plugin = pkgs.vimPlugins.cmp-nvim-lsp-signature-help; }
|
||||||
{ plugin = pkgs.vimPlugins.cmp-nvim-lsp; }
|
{ plugin = pkgs.vimPlugins.cmp-nvim-lsp; }
|
||||||
{ plugin = pkgs.vimPlugins.cmp-spell; }
|
|
||||||
{
|
{
|
||||||
plugin = pkgs.vimUtils.buildVimPlugin {
|
plugin = pkgs.vimUtils.buildVimPlugin {
|
||||||
pname = "cmp-vimtex";
|
pname = "cmp-vimtex";
|
||||||
|
@ -47,23 +46,23 @@ in
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{ plugin = pkgs.vimPlugins.cmp_luasnip; }
|
{ plugin = pkgs.vimPlugins.cmp_luasnip; }
|
||||||
{
|
# {
|
||||||
plugin = pkgs.vimPlugins.copilot-cmp;
|
# plugin = pkgs.vimPlugins.copilot-cmp;
|
||||||
opts = { };
|
# opts = { };
|
||||||
dependencies = [
|
# dependencies = [
|
||||||
{
|
# {
|
||||||
plugin = pkgs.vimPlugins.copilot-lua;
|
# plugin = pkgs.vimPlugins.copilot-lua;
|
||||||
opts = {
|
# opts = {
|
||||||
suggestion = { enabled = false; };
|
# suggestion = { enabled = false; };
|
||||||
panel = { enabled = false; };
|
# panel = { enabled = false; };
|
||||||
};
|
# };
|
||||||
conf = /* lua */ ''
|
# conf = /* lua */ ''
|
||||||
require("copilot").setup(opts)
|
# require("copilot").setup(opts)
|
||||||
vim.cmd("Copilot disable")
|
# vim.cmd("Copilot disable")
|
||||||
'';
|
# '';
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
}
|
# }
|
||||||
{ plugin = pkgs.vimPlugins.friendly-snippets; }
|
{ plugin = pkgs.vimPlugins.friendly-snippets; }
|
||||||
{ plugin = pkgs.vimPlugins.lspkind-nvim; }
|
{ plugin = pkgs.vimPlugins.lspkind-nvim; }
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,7 @@ cmp.setup({
|
||||||
maxwidth = 50, -- prevent the popup from showing more than provided characters
|
maxwidth = 50, -- prevent the popup from showing more than provided characters
|
||||||
ellipsis_char = "...", -- when popup menu exceed maxwidth, the truncated part would show ellipsis_char instead
|
ellipsis_char = "...", -- when popup menu exceed maxwidth, the truncated part would show ellipsis_char instead
|
||||||
symbol_map = {
|
symbol_map = {
|
||||||
Copilot = "",
|
-- Copilot = "",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
@ -67,7 +67,7 @@ cmp.setup({
|
||||||
{ priority = 1, name = "buffer" },
|
{ priority = 1, name = "buffer" },
|
||||||
{ priority = 1, name = "spell" },
|
{ priority = 1, name = "spell" },
|
||||||
{ priority = 2, name = "nvim_lsp" },
|
{ priority = 2, name = "nvim_lsp" },
|
||||||
{ priority = 3, name = "copilot" },
|
-- { priority = 3, name = "copilot" },
|
||||||
{ priority = 3, name = "nvim_lsp_signature_help" },
|
{ priority = 3, name = "nvim_lsp_signature_help" },
|
||||||
{ priority = 4, name = "luasnip" },
|
{ priority = 4, name = "luasnip" },
|
||||||
{ priority = 4, name = "vimtex" },
|
{ priority = 4, name = "vimtex" },
|
||||||
|
|
Loading…
Reference in New Issue