view runtime/spell/he.vim @ 15559:59d32a45da1a v8.1.0787

patch 8.1.0787: compiler warning for unused function commit https://github.com/vim/vim/commit/edce7420d044a503f38284188770efba87121bd6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 20 18:39:30 2019 +0100 patch 8.1.0787: compiler warning for unused function Problem: Compiler warning for unused function. (Tony Mechelynck) Solution: Tune #ifdef around setjmp functions.
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Jan 2019 18:45:05 +0100
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