view runtime/spell/yi.vim @ 18564:c14f5d3a205d v8.1.2276

patch 8.1.2276: MS-Windows: session test leaves files behind Commit: https://github.com/vim/vim/commit/5bf46e978619ff602a7c63dd98e19de8248236b3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 9 18:06:04 2019 +0100 patch 8.1.2276: MS-Windows: session test leaves files behind Problem: MS-Windows: session test leaves files behind. Solution: Wipe out buffers before deleting the directory. (closes https://github.com/vim/vim/issues/5187)
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Nov 2019 18:15:03 +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