view runtime/spell/yi.vim @ 29501:69d24e60f4f8 v9.0.0092

patch 9.0.0092: plugins cannot change v:completed_item Commit: https://github.com/vim/vim/commit/61021aa318ca4c4a6b0182ee93388b2e9b5eefba Author: Shougo Matsushita <Shougo.Matsu@gmail.com> Date: Wed Jul 27 14:40:00 2022 +0100 patch 9.0.0092: plugins cannot change v:completed_item Problem: Plugins cannot change v:completed_item. Solution: Make v:completed_item writeable. (Shougo Matsushita, closes #10801)
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 Jul 2022 15:45:03 +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