Mercurial > vim
view src/testdir/test_plus_arg_edit.vim @ 12632:b1a7e3968a31 v8.0.1194
patch 8.0.1194: actual fg and bg colors of terminal are unknown
commit https://github.com/vim/vim/commit/65e4c4f6868882a380c319632a1728a5e7d274ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 14 23:24:25 2017 +0200
patch 8.0.1194: actual fg and bg colors of terminal are unknown
Problem: Actual fg and bg colors of terminal are unknown.
Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Oct 2017 23:30:05 +0200 |
parents | 140d51d5b5c3 |
children | 9e04de2aa738 |
line wrap: on
line source
" Tests for complicated + argument to :edit command function Test_edit() call writefile(["foo|bar"], "Xfile1") call writefile(["foo/bar"], "Xfile2") edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w call assert_equal(["fooPIPEbar"], readfile("Xfile1")) call assert_equal(["fooSLASHbar"], readfile("Xfile2")) endfunction