aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-12 15:07:11 -0400
committerGitHub <noreply@github.com>2021-06-12 15:07:11 -0400
commit12d8ff7ccdad4d5873347e8d318a47ac552941d7 (patch)
treef7167b901cd2fa667a4a835fe9153d5411b678ab /runtime
parentd3bdde0bad12458128fae817aa348ac1d07b6f35 (diff)
parent6a4685fb0e62dbd7955f8698e3aa82f885026036 (diff)
downloadrneovim-12d8ff7ccdad4d5873347e8d318a47ac552941d7.tar.gz
rneovim-12d8ff7ccdad4d5873347e8d318a47ac552941d7.tar.bz2
rneovim-12d8ff7ccdad4d5873347e8d318a47ac552941d7.zip
Merge pull request #14785 from janlazo/vim-8.1.1838
vim-patch:8.1.{1838,1865},8.2.{38,39,46,945,948,2896}
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt8
-rw-r--r--runtime/doc/spell.txt17
-rw-r--r--runtime/spell/en.utf-8.splbin609337 -> 621617 bytes
3 files changed, 20 insertions, 5 deletions
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()*
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index f722747ce9..22d7cdf491 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|.
+ *: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
+ 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('<cWORD>')<CR>
+ nnoremap z/ :exe ':spellrare! ' . expand('<cWORD>')<CR>
+< |: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|.
diff --git a/runtime/spell/en.utf-8.spl b/runtime/spell/en.utf-8.spl
index 83b9b8f7c2..e4b1e1cce7 100644
--- a/runtime/spell/en.utf-8.spl
+++ b/runtime/spell/en.utf-8.spl
Binary files differ