Mercurial > vim
view src/testdir/test_findfile.vim @ 15152:1ef429366fd4 v8.1.0586
patch 8.1.0586: :digraph output is not easy to read
commit https://github.com/vim/vim/commit/eae8ae1b2b4e532b125077d9838b70d966891be3
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 14 18:53:02 2018 +0100
patch 8.1.0586: :digraph output is not easy to read
Problem: :digraph output is not easy to read.
Solution: Add highlighting for :digraphs. (Marcin Szamotulski, closes https://github.com/vim/vim/issues/3572)
Also add section headers for :digraphs!.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Dec 2018 19:00:05 +0100 |
parents | a479b7064550 |
children | 977a05589b65 |
line wrap: on
line source
" Test for findfile() " func Test_findfile() new let cwd=getcwd() cd .. " Tests may be run from a shadow directory, so an extra cd needs to be done to " get above src/ if fnamemodify(getcwd(), ':t') != 'src' cd ../.. else cd .. endif set ssl call assert_equal('src/testdir/test_findfile.vim', findfile('test_findfile.vim','src/test*')) exe "cd" cwd cd .. call assert_equal('testdir/test_findfile.vim', findfile('test_findfile.vim','test*')) call assert_equal('testdir/test_findfile.vim', findfile('test_findfile.vim','testdir')) exe "cd" cwd q! endfunc