Mercurial > vim
view runtime/spell/yi.vim @ 3252:80c529a5650f v7.3.395
updated for version 7.3.395
Problem: "dv?bar" in the last line deletes too much and breaks undo.
Solution: Only adjust the cursor position when it's after the last line of
the buffer. Add a test. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 Jan 2012 13:44:27 +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