You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does the first one displayed?
my source setting is
-- /////// source of luacmp.setup.filetype({'lua'}, {
sources= {
{
name='spell',
group_index=1,
option= {
keep_all_entries=true, -- it can show more possible listenable_in_context=function () -- is_available() does not work, this option make spell completion work only returncontext.in_treesitter_capture('comment') orcontext.in_syntax_group('Comment')
end
}
},
}
})
The text was updated successfully, but these errors were encountered:
@f3fora
It is weird that the order is same with suggestion of spellsuggest() when preselect_correct_word = false.
Anyway, It works for me! Thank you for your commit!
I wanted the completion window to be printed in the same order as the vim.fn.spellsuggest() function. like this.
To see this, I changed the sorting order in config of nvim-cmp like
but the completion window said the input word first like
1. overshot
2. overshoot
3. Overshot
4. overshoe
5. over shot
6. overshoots
Why does the first one displayed?
my source setting is
The text was updated successfully, but these errors were encountered: