comparison runtime/doc/eval.txt @ 20786:90b96fa35e4b v8.2.0945

patch 8.2.0945: cannot use "z=" when 'spell' is off Commit: https://github.com/vim/vim/commit/152e79e94bb935e75b866bd55479648cde11066a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 10 15:32:08 2020 +0200 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 #6227)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Jun 2020 15:45:04 +0200
parents 821925509d8c
children 2616c5a337e0
comparison
equal deleted inserted replaced
20785:919ff930619d 20786:90b96fa35e4b
9535 "caps" word should start with Capital 9535 "caps" word should start with Capital
9536 Example: > 9536 Example: >
9537 echo spellbadword("the quik brown fox") 9537 echo spellbadword("the quik brown fox")
9538 < ['quik', 'bad'] ~ 9538 < ['quik', 'bad'] ~
9539 9539
9540 The spelling information for the current window is used. The 9540 The spelling information for the current window and the value
9541 'spell' option must be set and the value of 'spelllang' is 9541 of 'spelllang' are used.
9542 used.
9543 9542
9544 Can also be used as a |method|: > 9543 Can also be used as a |method|: >
9545 GetText()->spellbadword() 9544 GetText()->spellbadword()
9546 < 9545 <
9547 *spellsuggest()* 9546 *spellsuggest()*
9562 {word} may also be a good word. Similar words will then be 9561 {word} may also be a good word. Similar words will then be
9563 returned. {word} itself is not included in the suggestions, 9562 returned. {word} itself is not included in the suggestions,
9564 although it may appear capitalized. 9563 although it may appear capitalized.
9565 9564
9566 The spelling information for the current window is used. The 9565 The spelling information for the current window is used. The
9567 'spell' option must be set and the values of 'spelllang' and 9566 values of 'spelllang' and 'spellsuggest' are used.
9568 'spellsuggest' are used.
9569 9567
9570 Can also be used as a |method|: > 9568 Can also be used as a |method|: >
9571 GetWord()->spellsuggest() 9569 GetWord()->spellsuggest()
9572 9570
9573 split({expr} [, {pattern} [, {keepempty}]]) *split()* 9571 split({expr} [, {pattern} [, {keepempty}]]) *split()*