fix: remove quotes from spell suggestions (#400)
This commit is contained in:
@@ -787,7 +787,8 @@ internal.spell_suggest = function(opts)
|
|||||||
actions.goto_file_selection_edit:replace(function()
|
actions.goto_file_selection_edit:replace(function()
|
||||||
local selection = actions.get_selected_entry()
|
local selection = actions.get_selected_entry()
|
||||||
actions.close(prompt_bufnr)
|
actions.close(prompt_bufnr)
|
||||||
vim.cmd('normal! "_ciw"' .. selection[1])
|
vim.cmd('normal! ciw' .. selection[1])
|
||||||
|
vim.cmd('stopinsert')
|
||||||
end)
|
end)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user