view src/testdir/test22.in @ 22870:69b48d2822ec v8.2.1982

patch 8.2.1982: quickfix window now updated when adding invalid entries Commit: https://github.com/vim/vim/commit/2ce7790348dab9cbfcc5d02c8258d0dd7ecacf95 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 14 13:15:24 2020 +0100 patch 8.2.1982: quickfix window now updated when adding invalid entries Problem: Quickfix window now updated when adding invalid entries. Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes #7291, closes #7271)
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 Nov 2020 13:30:05 +0100
parents 30bdd2e4a6f9
children
line wrap: on
line source

Tests for complicated + argument to :edit command

STARTTEST
:$-1w! Xfile1
:$w! Xfile2
:edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
:w! test.out
:e Xfile1
:w >> test.out
:qa!
ENDTEST

The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar"
foo|bar
foo/bar