view runtime/spell/yi.vim @ 21975:2030f8267db9 v8.2.1537

patch 8.2.1537: memory acccess error when using setcellwidths() Commit: https://github.com/vim/vim/commit/b06a6d59d12dbd67d55b3c46f6e5547e9103c931 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 28 23:27:20 2020 +0200 patch 8.2.1537: memory acccess error when using setcellwidths() Problem: Memory acccess error when using setcellwidths(). Solution: Use array and pointers correctly.
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Aug 2020 23:30:04 +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