aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-12-13 02:46:12 +0100
committerGitHub <noreply@github.com>2018-12-13 02:46:12 +0100
commit1cca5da05ff1a35cfdb930be82449705507ec661 (patch)
tree20f58b62ef6fafad7c39ce1a91c2e2f98cf91b59 /src/nvim/testdir
parentaf368981a7ce817391a03dae5816d167aa2dc189 (diff)
parent4157f4c72db7eab71b9670d517a8cbd3ed8909ba (diff)
downloadrneovim-1cca5da05ff1a35cfdb930be82449705507ec661.tar.gz
rneovim-1cca5da05ff1a35cfdb930be82449705507ec661.tar.bz2
rneovim-1cca5da05ff1a35cfdb930be82449705507ec661.zip
Merge #9348 from janlazo/vim-8.0.1748
vim-patch:8.0.1748
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_autocmd.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
index 5deb789f48..253d6750ed 100644
--- a/src/nvim/testdir/test_autocmd.vim
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -840,6 +840,8 @@ func Test_Cmdline()
au! CmdlineEnter
au! CmdlineLeave
+ let save_shellslash = &shellslash
+ set noshellslash
au! CmdlineEnter / let g:entered = expand('<afile>')
au! CmdlineLeave / let g:left = expand('<afile>')
let g:entered = 0
@@ -852,6 +854,7 @@ func Test_Cmdline()
bwipe!
au! CmdlineEnter
au! CmdlineLeave
+ let &shellslash = save_shellslash
endfunc
" Test for BufWritePre autocommand that deletes or unloads the buffer.