Closed pfries closed 2 years ago
What happens if you set exact
(in setup function) to more than keyword_length
?
Still not seeing the completion source with keyword_length = 4
and exact = 5
or exact = 4
.
Hmm. It doesn't reproduce. Please provide detailed settings and steps to reproduce.
Still seeing it with a minimal cmp
config, all plugins except cmp
and cmp-dictionary
removed, and no custom configuration.
nvim --version
NVIM v0.7.0-dev+2261-g9804a2870
require("cmp").setup({
sources = {
{
name = "dictionary",
keyword_length = 4
},
},
})
require("cmp_dictionary").setup({
dic = {
["*"] = { "/usr/share/dict/words" },
},
})
Can you try to reproduce it in the release version?
Same behavior with v0.6.1
Even v0.6.1 didn't reproduce it for me... I wonder what could be the cause?
Not sure but it sounds like it's something on my end I'll need to troubleshoot. Thanks for looking into it.
Did you solve the problem? I'd like to close this issue, since there are no similar reports and the problem probably depends on your environment.
FYI this was fixed by 9ae00514826bd26b84d86d67ed999cb4155c33e4
Thanks!
Hi @uga-rosa, thanks for the great work on this plugin. I have it working fine when I have
keyword_length <= 2
but anything above that disables Dictionary source completion.