diff options
| author | Senghan Bright <senghan.bright@deltaprojects.com> | 2021-01-06 15:16:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-06 15:16:46 +0100 |
| commit | 1d6195ff643ed153eb0f233b32f1becc68c79ee6 (patch) | |
| tree | 9d2651dbabbfb6aa583cf2f89606ee12b8d85ef9 | |
| parent | dda5b44b94f715395798f92f9e17e84bd0666f4a (diff) | |
fix: remove quotes from spell suggestions (#400)
| -rw-r--r-- | lua/telescope/builtin/internal.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua index 4a3ed18..bc23b69 100644 --- a/lua/telescope/builtin/internal.lua +++ b/lua/telescope/builtin/internal.lua @@ -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 |
