show numbers for every spell_suggest
picker suggestions
#1944
mortezadadgar
started this conversation in
Ideas
Replies: 1 comment
-
I don't think that's a improvement... The reason why If you like it you can write a picker by yourself: require('fzf-lua').fzf_exec(
vim
.iter(ipairs(vim.fn.spellsuggest(vim.fn.expand '<cword>')))
:map(function(k, v) return ('%s. %s'):format(k, v) end)
:totable(),
{
actions = {
enter = function(sel)
require('fzf-lua.actions').spell_apply({ (unpack(sel):match('%d%. (.*)$')) })
end,
},
}
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just a minimal improvement to make the picker output like the native neovim's
z=
key binding.Beta Was this translation helpful? Give feedback.
All reactions