0
0
mirror of https://github.com/vim/vim.git synced 2025-10-18 07:54:29 -04:00

patch 8.1.0231: :help -? goes to help for -+

Problem:    :help -? goes to help for -+.
Solution:   Add -? to list of special cases. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2018-08-01 18:03:02 +02:00
parent 91335e5a67
commit a5bc38b8c1
3 changed files with 9 additions and 2 deletions

View File

@@ -26,6 +26,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\*')