comparison src/testdir/test_getcwd.in @ 10126:a539e9e4e534 v7.4.2334

commit https://github.com/vim/vim/commit/1b0c2fcf6e85c9b85c24757ba970061e1f3e4e80 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 5 23:29:26 2016 +0200 patch 7.4.2334 Problem: On MS-Windows test_getcwd leaves Xtopdir behind. Solution: Set 'noswapfile'. (Michael Soyka)
author Christian Brabandt <cb@256bit.org>
date Mon, 05 Sep 2016 23:30:06 +0200
parents 05e7d084c6c2
children
comparison
equal deleted inserted replaced
10125:33c344996adb 10126:a539e9e4e534
6 :" delete the Xtopdir directory during cleanup 6 :" delete the Xtopdir directory during cleanup
7 :" 7 :"
8 :" This will cause a few errors, do it silently. 8 :" This will cause a few errors, do it silently.
9 :set visualbell 9 :set visualbell
10 :set nocp viminfo+=nviminfo 10 :set nocp viminfo+=nviminfo
11 :"
12 :" On windows a swapfile in Xtopdir prevents it from being cleaned up.
13 :set noswapfile
11 :" 14 :"
12 :function! GetCwdInfo(win, tab) 15 :function! GetCwdInfo(win, tab)
13 : let tab_changed = 0 16 : let tab_changed = 0
14 : let mod = ":t" 17 : let mod = ":t"
15 : if a:tab > 0 && a:tab != tabpagenr() 18 : if a:tab > 0 && a:tab != tabpagenr()