summaryrefslogtreecommitdiffstats
path: root/runtime/spell/yi.vim
blob: c08cf8cb09d01d75ab1a16b7fd594ba271862767 (plain)
1
2
3
4
5
6
7
8
9
10
" 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