view src/testdir/test23.in @ 11579:52e3a77c097b v8.0.0672

patch 8.0.0672: third item of synconcealed() changes too often commit https://github.com/vim/vim/commit/cc0750dc6e878394ab0fd922b7ea4280918ae406 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 24 22:29:24 2017 +0200 patch 8.0.0672: third item of synconcealed() changes too often Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line.
author Christian Brabandt <cb@256bit.org>
date Sat, 24 Jun 2017 22:30:03 +0200
parents 3fc0f57ecb91
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