view runtime/spell/yi.vim @ 30663:65c35212c772 v9.0.0666

patch 9.0.0666: spacing-combining characters handled as composing Commit: https://github.com/vim/vim/commit/7beaf6a720ddc7e2989c8831872bfb98ec78a65d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 5 18:03:00 2022 +0100 patch 9.0.0666: spacing-combining characters handled as composing Problem: Spacing-combining characters handled as composing, causing text to take more space than expected. Solution: Handle characters marked with "Mc" not as composing. (closes #11282
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Oct 2022 19:15: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