view runtime/spell/yi.vim @ 16521:a7299d144bb9 v8.1.1264

patch 8.1.1264: crash when closing window from WinBar click commit https://github.com/vim/vim/commit/d2fad67e3eb71f48d23f283ef8e7b7ddf4ee180f Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 4 16:55:25 2019 +0200 patch 8.1.1264: crash when closing window from WinBar click Problem: Crash when closing window from WinBar click. (Ben Jackson) Solution: Check that window pointer is still valid. (closes https://github.com/vim/vim/issues/4337)
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 May 2019 17:00:06 +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