view runtime/spell/yi.vim @ 16032:831f9e74eded v8.1.1021

patch 8.1.1021: pyeval() and py3eval() leak memory commit https://github.com/vim/vim/commit/8e9a24a127c4ef8833fdc3986623f96c7d04210f Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 19 22:22:55 2019 +0100 patch 8.1.1021: pyeval() and py3eval() leak memory Problem: pyeval() and py3eval() leak memory. Solution: Do not increase the reference count twice. (Ozaki Kiichi, closes #4129)
author Bram Moolenaar <Bram@vim.org>
date Tue, 19 Mar 2019 22:30:05 +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