plugins/cmp: add cmp-nixpkgs-maintainers source

This commit is contained in:
Gaetan Lepage 2024-10-15 22:33:42 +02:00
parent 6a8124ca7b
commit e3239b4d32
2 changed files with 6 additions and 0 deletions

View file

@ -109,6 +109,10 @@ let
pluginName = "cmp_luasnip"; pluginName = "cmp_luasnip";
sourceName = "luasnip"; sourceName = "luasnip";
} }
{
pluginName = "cmp-nixpkgs-maintainers";
sourceName = "nixpkgs_maintainers";
}
{ {
pluginName = "cmp-nvim-lsp"; pluginName = "cmp-nvim-lsp";
sourceName = "nvim_lsp"; sourceName = "nvim_lsp";

View file

@ -21,6 +21,8 @@
"cmp_ai" "cmp_ai"
# Triggers the warning complaining about treesitter highlighting being disabled # Triggers the warning complaining about treesitter highlighting being disabled
"otter" "otter"
# Invokes the `nix` command at startup which is not available in the sandbox
"nixpkgs_maintainers"
] ++ optional (pkgs.stdenv.hostPlatform.system == "aarch64-linux") "cmp_tabnine"; ] ++ optional (pkgs.stdenv.hostPlatform.system == "aarch64-linux") "cmp_tabnine";
in in
pipe config.cmpSourcePlugins [ pipe config.cmpSourcePlugins [