File tree Expand file tree Collapse file tree 1 file changed +14
-37
lines changed
plugins/by-name/blink-cmp-spell Expand file tree Collapse file tree 1 file changed +14
-37
lines changed Original file line number Diff line number Diff line change 1
1
{ lib , ... } :
2
- lib . nixvim . plugins . mkNeovimPlugin {
2
+ let
3
3
name = "blink-cmp-spell" ;
4
- package = "blink-cmp-spell" ;
4
+ in
5
+ lib . nixvim . plugins . mkNeovimPlugin {
6
+ inherit name ;
5
7
6
8
maintainers = [ lib . maintainers . khaneliman ] ;
7
9
8
- description = ''
9
- This plugin should be configured through blink-cmp's `sources.providers` settings.
10
-
11
- For example:
12
-
13
- ```nix
14
- plugins.blink-cmp = {
15
- enable = true;
16
- settings.sources.providers = {
17
- spell = {
18
- module = "blink-cmp-spell";
19
- name = "Spell";
20
- score_offset = 100;
21
- opts = {
22
- };
23
- };
10
+ imports = [
11
+ ( lib . nixvim . modules . mkBlinkPluginModule {
12
+ pluginName = name ;
13
+ # TODO: compute a sane-default
14
+ key = "spell" ;
15
+ sourceName = "Spell" ;
16
+ settingsExample = {
17
+ score_offset = 100 ;
24
18
} ;
25
- };
26
- ```
27
-
28
- And then you can add it to blink-cmp's `sources.default` option:
29
-
30
- ```nix
31
- plugins.blink-cmp = {
32
- enable = true;
33
- settings.sources.default = [
34
- "lsp"
35
- "path"
36
- "luasnip"
37
- "buffer"
38
- "spell"
39
- ];
40
- };
41
- ```
42
- '' ;
19
+ } )
20
+ ] ;
43
21
44
22
# Configured through blink-cmp
45
23
callSetup = false ;
46
24
hasLuaConfig = false ;
47
- hasSettings = false ;
48
25
}
You can’t perform that action at this time.
0 commit comments