Mercurial > vim
view src/testdir/test16.in @ 7036:5f00b8d7148f v7.4.831
commit https://github.com/vim/vim/commit/3f188935ec4db5117c4a64cc3f71219175624745
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 25 13:57:04 2015 +0200
patch 7.4.831
Problem: When expanding on the command line and encountering an
error, the command is executed anyway.
Solution: Bail out when an error is detected.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 25 Aug 2015 17:20:26 +0200 |
parents | f2978794e801 |
children |
line wrap: on
line source
Tests for resetting "secure" flag after GUI has started. For KDE set a font, empty 'guifont' may cause a hang. STARTTEST :so small.vim :if $DISPLAY == "" | e! test.ok | wq! test.out | endif :set exrc secure :if has("gui_kde") : set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0 :endif :gui -f :.,$w! test.out :qa! ENDTEST just some text