comparison src/testdir/test_help_tagjump.vim @ 9234:6e80397a592c v7.4.1900

commit https://github.com/vim/vim/commit/28b942a064dd486cc241894b625ab72f5a5c6d1b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 4 22:31:27 2016 +0200 patch 7.4.1900 Problem: Using CTRL-] in the help on "{address}." doesn't work. Solution: Recognize an item in {}. (Hirohito Higashi, closes https://github.com/vim/vim/issues/814)
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Jun 2016 22:45:04 +0200
parents f60bdac6cc2c
children 3ee84d270ea7
comparison
equal deleted inserted replaced
9233:70540cbb10a8 9234:6e80397a592c
22 helpclose 22 helpclose
23 23
24 exec "help! arglistid([{winnr}" 24 exec "help! arglistid([{winnr}"
25 call assert_equal("help", &filetype) 25 call assert_equal("help", &filetype)
26 call assert_true(getline('.') =~ '\*arglistid()\*') 26 call assert_true(getline('.') =~ '\*arglistid()\*')
27 helpclose
28
29 exec "help! 'autoindent'."
30 call assert_equal("help", &filetype)
31 call assert_true(getline('.') =~ "\\*'autoindent'\\*")
32 helpclose
33
34 exec "help! {address}."
35 call assert_equal("help", &filetype)
36 call assert_true(getline('.') =~ '\*{address}\*')
27 helpclose 37 helpclose
28 endfunc 38 endfunc
29 39
30 let s:langs = ['en', 'ab', 'ja'] 40 let s:langs = ['en', 'ab', 'ja']
31 41