view runtime/spell/yi.vim @ 7350:5ac8ee7bf4ff v7.4.980

commit https://github.com/vim/vim/commit/57d7971b5f1621071176eea81cdb0d1fc50c925d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 28 14:04:47 2015 +0100 patch 7.4.980 Problem: Tests for :cdo, :ldo, etc. are outdated. Solution: Add new style tests for these commands. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Dec 2015 14:15:04 +0100
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