view runtime/spell/he.vim @ 21283:1d2c814f4bed v8.2.1192

patch 8.2.1192: Lua test fails with older Lua version Commit: https://github.com/vim/vim/commit/b898a029b01866b1dbe07521e153d54917b9527d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 12 18:33:53 2020 +0200 patch 8.2.1192: Lua test fails with older Lua version Problem: Lua test fails with older Lua version. Solution: Adjust expected error messages. (closes https://github.com/vim/vim/issues/6444)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Jul 2020 18:45:03 +0200
parents f00f0af2a320
children
line wrap: on
line source

" For Hebrew capitals should not be checked.  But only change the
" 'spellcapcheck' option when it is not at its default value.
let s:spc = &l:spc
setlocal spc&
if s:spc == &l:spc
  setlocal spc=
else
  let &l:spc = s:spc
endif
unlet s:spc