summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-10 15:32:08 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-10 15:32:08 +0200
commit152e79e94bb935e75b866bd55479648cde11066a (patch)
tree013f7b9ea813add2da55944bdbdb8dc83e9469f6 /runtime
parent253ea9fa42278faa064f2590a5c0de46dc903a17 (diff)
patch 8.2.0945: cannot use "z=" when 'spell' is offv8.2.0945
Problem: Cannot use "z=" when 'spell' is off. Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt, Gary Johnson, closes #6227)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index f3e240aa0b..78588bfd3c 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -9537,9 +9537,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.
Can also be used as a |method|: >
GetText()->spellbadword()
@@ -9564,8 +9563,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.
Can also be used as a |method|: >
GetWord()->spellsuggest()