view runtime/spell/yi.vim @ 2622:b2cfe84c96cc v7.3.044

updated for version 7.3.044 Problem: The preview window opened by the popup menu is larger than specified with 'previewheight'. (Benjamin Haskell) Solution: Use 'previewheight' if it's set and smaller.
author Bram Moolenaar <bram@vim.org>
date Wed, 27 Oct 2010 17:11:15 +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