aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-27 10:34:40 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-04 21:16:34 -0400
commit24b16ed35e402e6389ca00753343ac93c0949a02 (patch)
tree23fe63c876723d7bb5c39a91b81813afeaef7918 /src/nvim/testdir
parent5c90bbae2aad0c3129ed8efa0f1b03980f7f28a3 (diff)
downloadrneovim-24b16ed35e402e6389ca00753343ac93c0949a02.tar.gz
rneovim-24b16ed35e402e6389ca00753343ac93c0949a02.tar.bz2
rneovim-24b16ed35e402e6389ca00753343ac93c0949a02.zip
vim-patch:8.1.0231: :help -? goes to help for -+
Problem: :help -? goes to help for -+. Solution: Add -? to list of special cases. (Hirohito Higashi) https://github.com/vim/vim/commit/a5bc38b8c16be93bac900137a5837585006cc8a4
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_help_tagjump.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_help_tagjump.vim b/src/nvim/testdir/test_help_tagjump.vim
index 4d4a902031..09724066b0 100644
--- a/src/nvim/testdir/test_help_tagjump.vim
+++ b/src/nvim/testdir/test_help_tagjump.vim
@@ -38,6 +38,11 @@ func Test_help_tagjump()
call assert_true(getline('.') =~ '\*:?\*')
helpclose
+ help -?
+ call assert_equal("help", &filetype)
+ call assert_true(getline('.') =~ '\*-?\*')
+ helpclose
+
help FileW*Post
call assert_equal("help", &filetype)
call assert_true(getline('.') =~ '\*FileWritePost\*')