1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-06 17:11:05 +01:00
nixvim/tests/test-sources/plugins/by-name/blink-cmp-words/default.nix
2025-12-03 00:08:57 +00:00

66 lines
1.5 KiB
Nix

{
empty = {
plugins = {
blink-cmp.enable = true;
blink-cmp-words.enable = true;
};
};
example = {
plugins = {
blink-cmp-words.enable = true;
blink-cmp = {
enable = true;
settings = {
sources = {
default = [
"lsp"
"path"
"lazydev"
"dictionary"
"thesaurus"
];
providers = {
thesaurus = {
name = "blink-cmp-words";
module = "blink-cmp-words.thesaurus";
opts = {
score_offset = 0;
definition_pointers = [
"!"
"&"
"^"
];
similarity_pointers = [
"&"
"^"
];
similarity_depth = 2;
};
};
dictionary = {
name = "blink-cmp-words";
module = "blink-cmp-words.dictionary";
opts = {
dictionary_search_threshold = 3;
score_offset = 0;
definition_pointers = [
"!"
"&"
"^"
];
};
};
};
per_filetype = {
text = [ "dictionary" ];
markdown = [ "thesaurus" ];
};
};
};
};
};
};
}