mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
plugins/cmp: add cmp_ai source
This commit is contained in:
parent
582641a639
commit
3834c4e0db
5 changed files with 138 additions and 1 deletions
|
@ -14,7 +14,10 @@
|
|||
settings.sources =
|
||||
with pkgs.lib;
|
||||
let
|
||||
disabledSources = optional (pkgs.stdenv.hostPlatform.system == "aarch64-linux") "cmp_tabnine";
|
||||
disabledSources = [
|
||||
# We do not provide the required HF_API_KEY environment variable.
|
||||
"cmp_ai"
|
||||
] ++ optional (pkgs.stdenv.hostPlatform.system == "aarch64-linux") "cmp_tabnine";
|
||||
|
||||
filterFunc = sourceName: !(elem sourceName disabledSources);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue