nix-community.nixvim/plugins/by-name/blink-cmp-spell/default.nix

53 lines
991 B
Nix
Raw Normal View History

2025-02-05 12:27:20 -06:00
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "blink-cmp-spell";
package = "blink-cmp-spell";
maintainers = [ lib.maintainers.khaneliman ];
description = ''
2025-06-18 02:42:47 +03:00
Spell checking source for the blink-cmp.
---
2025-02-05 12:27:20 -06:00
This plugin should be configured through blink-cmp's `sources.providers` settings.
For example:
```nix
plugins.blink-cmp = {
enable = true;
settings.sources.providers = {
spell = {
module = "blink-cmp-spell";
name = "Spell";
score_offset = 100;
opts = {
};
};
};
};
```
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"
"spell"
];
};
```
'';
# Configured through blink-cmp
callSetup = false;
hasLuaConfig = false;
hasSettings = false;
}