view src/testdir/test22.in @ 31473:edd37b53405a v9.0.1069

patch 9.0.1069: diff mode highlight fails for special characters Commit: https://github.com/vim/vim/commit/417e88bb75ee8af1bf696760bba9f114a007f733 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 17 15:03:02 2022 +0000 patch 9.0.1069: diff mode highlight fails for special characters Problem: Diff mode highlight fails for special characters. Solution: Adjust condition for setting "diff_hlf".
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Dec 2022 16:15:03 +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