Mercurial > vim
view src/testdir/dotest.in @ 23096:b6aadb0b3a56 v8.2.2094
patch 8.2.2094: when an expression fails getting next command may be wrong
Commit: https://github.com/vim/vim/commit/d0fe620cbbf5f5e00446efa89893036265c5c302
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 5 17:11:12 2020 +0100
patch 8.2.2094: when an expression fails getting next command may be wrong
Problem: When an expression fails getting the next command may be wrong.
Solution: Do not check for a next command after :eval fails. (closes https://github.com/vim/vim/issues/7415)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Dec 2020 17:15:03 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
:set cp :map dotest /^STARTTEST j:set ff=unix cpo-=A :.,/ENDTEST/-1w! Xdotest :set ff& cpo+=A nj0:so! Xdotest dotest dotest