Mercurial > vim
view runtime/spell/yi.vim @ 8921:c3e7cc135754 v7.4.1747
commit https://github.com/vim/vim/commit/fe4b18640656ddea41f60cf7a76956c9cc5494d6
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 15 21:47:54 2016 +0200
patch 7.4.1747
Problem: Coverity: missing check for NULL pointer.
Solution: Check for out of memory.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 15 Apr 2016 22:00:07 +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