view runtime/spell/he.vim @ 2937:0a650db02653 v7.3.241

updated for version 7.3.241 Problem: Using CTRL-R CTRL-W on the command line may insert only part of the word. Solution: Use the cursor position instead of assuming it is at the end of the command. (Tyru)
author Bram Moolenaar <bram@vim.org>
date Thu, 07 Jul 2011 16:44:37 +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