]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0081: Failed "z=" does not reset 'nospell' setting v9.2.0081
authorLuuk van Baal <luukvbaal@gmail.com>
Sat, 28 Feb 2026 17:40:32 +0000 (17:40 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 28 Feb 2026 17:40:32 +0000 (17:40 +0000)
commiteba078fc47b6e0a5b6bc032ab31f4296ed2ff2a6
treef1739676bf5a40d3d1db73e27baa9b4d247680d9
parent75c291fc39d33844365cb0a4e99569b570d85af0
patch 9.2.0081: Failed "z=" does not reset 'nospell' setting

Problem:  When z= fails due to no word being found, 'spelllang' being
          unset or a multiline visual selection, 'nospell' is not
          restored.
Solution: Jump to where the user configured value of 'spell' is restored
          instead of returning early (Luuk van Baal).

closes: #19525

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/spellsuggest.c
src/testdir/test_spell.vim
src/testdir/test_spell_utf8.vim
src/version.c