From 61117d89a390d285c6daf16111a8c4b52f0c08a2 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 11 Jun 2021 21:13:02 -0400 Subject: vim-patch:8.1.1838: there is :spellwrong and :spellgood but not :spellrare Problem: There is :spellwrong and :spellgood but not :spellrare. Solution: Add :spellrare. (Martin Tournoij, closes vim/vim#4291) https://github.com/vim/vim/commit/08cc374dabd2a02785129fa1c0100f7745c244ad --- runtime/doc/spell.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index f722747ce9..3dce961c03 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -110,6 +110,23 @@ zuG Undo |zW| and |zG|, remove the word from the internal :spellw[rong]! {word} Add {word} as a wrong (bad) word to the internal word list, like with |zW|. + *:spellr* *:spellrare* +:[count]spellr[are] {word} + Add {word} as a rare word to 'spellfile', similar to + |zw|. Without count the first name is used, with + a count of two the second entry, etc. + + There are no normal mode commands to mark words as + rare as this is a fairly uncommon command and all + intuitive commands for this are already taken. If you + want you can add mappings with e.g.: > + nnoremap z? :exe ':spellrare ' . expand('') + nnoremap z/ :exe ':spellrare! ' . expand('') +< |:spellundo|, |zuw|, or |zuW| can be used to undo this. + +:spellr[rare]! {word} Add {word} as a rare word to the internal word + list, similar to |zW|. + :[count]spellu[ndo] {word} *:spellu* *:spellundo* Like |zuw|. [count] used as with |:spellgood|. -- cgit From e75244af63cbac943c66fee37e15ecb25b73a4c1 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 11 Jun 2021 21:29:13 -0400 Subject: vim-patch:8.1.1865: spellrare and spellrepall in the wrong order Problem: Spellrare and spellrepall in the wrong order. Solution: Put spellrare below spellrepall. (closes vim/vim#4820) https://github.com/vim/vim/commit/a3891681f72fd9efdea6444620d787358850d823 --- runtime/doc/spell.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index 3dce961c03..22d7cdf491 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -110,7 +110,7 @@ zuG Undo |zW| and |zG|, remove the word from the internal :spellw[rong]! {word} Add {word} as a wrong (bad) word to the internal word list, like with |zW|. - *:spellr* *:spellrare* + *:spellra* *:spellrare* :[count]spellr[are] {word} Add {word} as a rare word to 'spellfile', similar to |zw|. Without count the first name is used, with -- cgit From 72b512bd530afe7937d5ed8a9b68da889669bf80 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 11 Jun 2021 22:43:22 -0400 Subject: vim-patch:8.2.0945: cannot use "z=" when 'spell' is off Problem: Cannot use "z=" when 'spell' is off. Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt, Gary Johnson, closes vim/vim#6227) https://github.com/vim/vim/commit/152e79e94bb935e75b866bd55479648cde11066a --- runtime/doc/eval.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'runtime/doc') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index b7214d1390..5397846042 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -8230,9 +8230,8 @@ spellbadword([{sentence}]) echo spellbadword("the quik brown fox") < ['quik', 'bad'] ~ - The spelling information for the current window is used. The - 'spell' option must be set and the value of 'spelllang' is - used. + The spelling information for the current window and the value + of 'spelllang' are used. *spellsuggest()* spellsuggest({word} [, {max} [, {capital}]]) @@ -8254,8 +8253,7 @@ spellsuggest({word} [, {max} [, {capital}]]) although it may appear capitalized. The spelling information for the current window is used. The - 'spell' option must be set and the values of 'spelllang' and - 'spellsuggest' are used. + values of 'spelllang' and 'spellsuggest' are used. split({expr} [, {pattern} [, {keepempty}]]) *split()* -- cgit