1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 23:42:47 +01:00
nixvim/plugins/by-name/minuet/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

30 lines
763 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "minuet";
package = "minuet-ai-nvim";
description = "A Neovim plugin that provides AI-powered code completion and suggestions.";
maintainers = [ lib.maintainers.GaetanLepage ];
# Register nvim-cmp association
imports = [
{ cmpSourcePlugins.minuet = "minuet"; }
];
settingsExample = {
provider = "openai_compatible";
provider_options = {
openai_compatible = {
api_key = "OPENROUTER_API_KEY";
end_point = "https://openrouter.ai/api/v1/chat/completions";
name = "OpenRouter";
model = "google/gemini-flash-1.5";
stream = true;
optional = {
max_tokens = 256;
top_p = 0.9;
};
};
};
};
}