Mercurial > vim
view src/testdir/test_autochdir.vim @ 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 | 38e2fc4ee4ef |
children | 03a6aeea2096 |
line wrap: on
line source
" Test 'autochdir' behavior if !exists("+autochdir") finish endif func Test_set_filename() call test_autochdir() set acd new w samples/Xtest call assert_equal("Xtest", expand('%')) call assert_equal("samples", substitute(getcwd(), '.*/\(\k*\)', '\1', '')) bwipe! set noacd call delete('samples/Xtest') endfunc