12.nixvim/plugins/by-name/blink-cmp-avante/default.nix
2025-12-29 10:09:22 +00:00

51 lines
968 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "blink-cmp-avante";
maintainers = [ lib.maintainers.GaetanLepage ];
description = ''
Avante source for blink-cmp.
---
This plugin should be configured through blink-cmp's `sources.providers` settings.
For example:
```nix
plugins.blink-cmp = {
enable = true;
settings.sources.providers = {
avante = {
module = "blink-cmp-avante";
name = "Avante";
opts = {
# options for blink-cmp-avante
};
};
};
};
```
And then you can add it to blink-cmp's `sources.default` option:
```nix
plugins.blink-cmp = {
enable = true;
settings.sources.default = [
"lsp"
"path"
"luasnip"
"buffer"
"avante"
];
};
```
'';
# Configured through blink-cmp
callSetup = false;
hasLuaConfig = false;
hasSettings = false;
}