view runtime/spell/he.vim @ 7504:013f285f31a6 v7.4.1054

commit https://github.com/vim/vim/commit/2795e21eaafaeaf95a91667fd411023280d0f902 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 5 22:04:49 2016 +0100 patch 7.4.1054 Problem: Illegal memory access. Solution: Check for missing pattern. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Tue, 05 Jan 2016 22:15:04 +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