2023-04-13 08:36:21 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
output.plugins = with pkgs.vimPlugins;
|
|
|
|
[
|
|
|
|
nvim-cmp
|
|
|
|
cmp-cmdline
|
|
|
|
cmp-path
|
|
|
|
cmp-buffer
|
|
|
|
cmp_luasnip
|
|
|
|
cmp-git
|
2023-04-13 18:35:12 +00:00
|
|
|
cmp-omni
|
2023-04-13 19:00:05 +00:00
|
|
|
lspkind-nvim
|
2023-04-13 08:36:21 +00:00
|
|
|
]
|
|
|
|
++ (
|
|
|
|
if config.isDesktop
|
2023-04-14 12:12:41 +00:00
|
|
|
then [cmp-nvim-lsp]
|
|
|
|
else []
|
|
|
|
)
|
|
|
|
++ (
|
|
|
|
if config.isDesktop && pkgs.system == "x86_64-linux"
|
|
|
|
then [cmp-tabnine]
|
2023-04-13 08:36:21 +00:00
|
|
|
else []
|
|
|
|
);
|
2023-04-13 08:30:16 +00:00
|
|
|
extraLuaModules = ["config.cmp"];
|
|
|
|
}
|