diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-31 21:17:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-31 21:17:39 +0200 |
commit | f9f24ce7a0e5988fedf2e2ff751818f9b07510a6 (patch) | |
tree | af3ede78a2dedfa82536fb134d22dbe6c9a5033c /src/testdir/test_getcwd.vim | |
parent | 5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3 (diff) | |
download | vim-git-f9f24ce7a0e5988fedf2e2ff751818f9b07510a6.tar.gz |
patch 8.1.1953: more functions can be used as a methodv8.1.1953
Problem: More functions can be used as a method.
Solution: Allow more functions to be used as a method.
Diffstat (limited to 'src/testdir/test_getcwd.vim')
-rw-r--r-- | src/testdir/test_getcwd.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_getcwd.vim b/src/testdir/test_getcwd.vim index 50c940feb..e73254661 100644 --- a/src/testdir/test_getcwd.vim +++ b/src/testdir/test_getcwd.vim @@ -17,7 +17,7 @@ func GetCwdInfo(win, tab) let lflag = haslocaldir(a:win) else let dirname = fnamemodify(getcwd(a:win, a:tab), mod) - let lflag = haslocaldir(a:win, a:tab) + let lflag = a:win->haslocaldir(a:tab) endif return bufname . ' ' . dirname . ' ' . lflag endfunc |