aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-12-10 22:41:37 -0500
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-12-12 19:14:16 -0500
commit0930435fc30d1e7e6be05ed1cd1d072e3616b6f4 (patch)
treee36124016c59685b6e6ae20946d26c979692d5dd /src/nvim/testdir
parent2f3a18695e41ec6afa98194b22d064ec81154dbf (diff)
downloadrneovim-0930435fc30d1e7e6be05ed1cd1d072e3616b6f4.tar.gz
rneovim-0930435fc30d1e7e6be05ed1cd1d072e3616b6f4.tar.bz2
rneovim-0930435fc30d1e7e6be05ed1cd1d072e3616b6f4.zip
vim-patch:8.0.1748: CmdlineEnter command uses backslash instead of slash
Problem: CmdlineEnter command uses backslash instead of slash. Solution: Don't treat the character as a file name. (closes vim/vim#2837) https://github.com/vim/vim/commit/a4baf5b32519855bb176a7aa0e9397c137ca890a
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.