Mercurial > vim
view runtime/spell/yi.vim @ 12722:7749260f261c v8.0.1239
patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()
commit https://github.com/vim/vim/commit/48570488f17e397183ea7d5c7ca67d6e4ffb013d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 30 21:48:41 2017 +0100
patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()
Problem: Cannot use a lambda for the skip argument to searchpair().
Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes https://github.com/vim/vim/issues/1454,
closes #2265)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 30 Oct 2017 22:00: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