view runtime/spell/yi.vim @ 6108:589fd07888ab v7.4.392

updated for version 7.4.392 Problem: Not easy to detect type of command line window. Solution: Add the getcmdwintype() function. (Jacob Niehus)
author Bram Moolenaar <bram@vim.org>
date Wed, 06 Aug 2014 13:36:59 +0200
parents f88526ade026
children
line wrap: on
line source

" For Yiddish 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