view runtime/spell/yi.vim @ 18726:ee8cf665dc2e v8.1.2353

patch 8.1.2353: build failure on FreeBSD Commit: https://github.com/vim/vim/commit/5708079a6b144e68bf85503bc3a7779d3a7cc2a6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 28 20:09:58 2019 +0100 patch 8.1.2353: build failure on FreeBSD Problem: Build failure on FreeBSD. Solution: Change #ifdef to only check for Linux-like systems.
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Nov 2019 20:15:04 +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