view src/testdir/test22.in @ 27169:1af5263a4509 v8.2.4113

patch 8.2.4113: typo on DOCMD_RANGEOK results in not recognizing command Commit: https://github.com/vim/vim/commit/dc98776f89689846466462767be75c6b63b6630f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 16 15:52:35 2022 +0000 patch 8.2.4113: typo on DOCMD_RANGEOK results in not recognizing command Problem: Typo on DOCMD_RANGEOK results in not recognizing command. Solution: Correct the typo. (closes https://github.com/vim/vim/issues/9539)
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Jan 2022 17:00:04 +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