Mercurial > vim
diff src/testdir/runtest.vim @ 26500:8088fa133b93 v8.2.3780
patch 8.2.3780: ":cd" works differently on MS-Windows
Commit: https://github.com/vim/vim/commit/29f3a4591528130fded3fe1d63d74bcf22ab4f6c
Author: Bakudankun <bakudankun@gmail.com>
Date: Sat Dec 11 12:28:08 2021 +0000
patch 8.2.3780: ":cd" works differently on MS-Windows
Problem: ":cd" works differently on MS-Windows.
Solution: Add the 'cdhome' option. (closes https://github.com/vim/vim/issues/9324)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 Dec 2021 13:30:03 +0100 |
parents | 485c7c4afeb7 |
children | d9ced5bca6d6 |
line wrap: on
line diff
--- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -77,6 +77,9 @@ if has('reltime') let s:start_time = reltime() endif +" Always use forward slashes. +set shellslash + " Common with all tests on all systems. source setup.vim @@ -128,9 +131,6 @@ if has('gui_running') && exists('did_ins source $VIMRUNTIME/menu.vim endif -" Always use forward slashes. -set shellslash - let s:srcdir = expand('%:p:h:h') if has('win32')