nixos-config/config/programs/vim/modules/lsp/cmp.nix

23 lines
308 B
Nix
Raw Normal View History

{
pkgs,
config,
lib,
...
}: {
output.plugins = with pkgs.vimPlugins;
[
nvim-cmp
cmp-cmdline
cmp-path
cmp-buffer
cmp_luasnip
cmp-git
]
++ (
if config.isDesktop
then [cmp-nvim-lsp]
else []
);
2023-04-13 08:30:16 +00:00
extraLuaModules = ["config.cmp"];
}