diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2021-01-19 16:38:23 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2021-01-19 16:38:23 +0300 |
| commit | efb6fca0685c8a22a02a8cfadb8f3f03a86290d0 (patch) | |
| tree | ac8e09ef63098f11ae932f8b64cb0feff0338167 /src/input_handler.cc | |
| parent | 3bb576edde80b5e5c6f499b50106ceb0c1784761 (diff) | |
rc spell: Remove `:spell-replace` default value
This commit removes the default prompt value from the `spell-replace`
command.
Currently, running the command after selecting a misspelled word
might not allow the editor to propose alternative spellings because
it completes upon whatever is inserted into the prompt. If the words
returned by `aspell` are too different from the currently misspelled
word, no candidates are shown.
For example, selecting “unanymously” and running `:spell-replace`
will not show any candidates under the current implementation (the
‘y’ probably trips the fuzzy-matcher).
The user develops a habit of clearing the prompt every time, because
that's the only way to make sure all suggestions from `aspell` are
visible, so the editor might as well not have any default value for
`:spell-replace`.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
