view runtime/spell/yi.vim @ 31708:f6309f6742e5 v9.0.1186

patch 9.0.1186: imported class does not work when used twice in a line Commit: https://github.com/vim/vim/commit/4059400993ff380414dce9b577eff0f8c86b7725 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 12 20:04:51 2023 +0000 patch 9.0.1186: imported class does not work when used twice in a line Problem: Imported class does not work when used twice in a line. Solution: Fix the type parsing.
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 Jan 2023 21: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