mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/cmp: add cmp-nixpkgs-maintainers source
This commit is contained in:
parent
6a8124ca7b
commit
e3239b4d32
2 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||||
|
|
|
@ -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 [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue