fix: remove quotes from spell suggestions (#400)

This commit is contained in:
Senghan Bright
2021-01-06 15:16:46 +01:00
committed by GitHub
parent dda5b44b94
commit 1d6195ff64

View File

@@ -787,7 +787,8 @@ internal.spell_suggest = function(opts)
actions.goto_file_selection_edit:replace(function()
local selection = actions.get_selected_entry()
actions.close(prompt_bufnr)
vim.cmd('normal! "_ciw"' .. selection[1])
vim.cmd('normal! ciw' .. selection[1])
vim.cmd('stopinsert')
end)
return true
end