blink-cmp-words
URL: https://github.com/archie-judd/blink-cmp-words/
Maintainers: Gaetan Lepage
Word and synonym completion source for blink-cmp.
This plugin should be configured through blink-cmp's source settings.
For example:
plugins.blink-cmp = {
enable = true;
settings.sources = {
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" ];
};
};
};
And then you can add it as a source for blink-cmp:
plugins.blink-cmp = {
enable = true;
settings.sources.default = [
"lsp"
"path"
"luasnip"
"buffer"
"dictionary"
"thesaurus"
];
};
plugins.blink-cmp-words.enable
Whether to enable blink-cmp-words.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.blink-cmp-words.package
The blink-cmp-words package to use.
Type: package
Default:
pkgs.vimPlugins.blink-cmp-words
Declared by:
plugins.blink-cmp-words.autoLoad
Whether to automatically load blink-cmp-words when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by: