From c3c409c70f46498e2cb549905cacfa3cf49c1383 Mon Sep 17 00:00:00 2001 From: Michael Ennen Date: Mon, 9 May 2016 23:37:51 -0700 Subject: vim-patch:7.4.1728 patch 7.4.1728 Problem: The help for functions require a space after the "(". Solution: Make CTRL-] on a function name ignore the arguments. (Hirohito Higashi) https://github.com/vim/vim/commit/81edd171a9465cf99cede4fa4a7b7bca3d538b0f --- src/nvim/testdir/test_help_tagjump.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/nvim/testdir') diff --git a/src/nvim/testdir/test_help_tagjump.vim b/src/nvim/testdir/test_help_tagjump.vim index e09c27b5cb..9f9207d27d 100644 --- a/src/nvim/testdir/test_help_tagjump.vim +++ b/src/nvim/testdir/test_help_tagjump.vim @@ -27,4 +27,14 @@ func Test_help_tagjump() call assert_equal("help", &filetype) call assert_true(getline('.') =~ "\\*'buflisted'\\*") helpclose + + exec "help! abs({expr})" + call assert_equal("help", &filetype) + call assert_true(getline('.') =~ '\*abs()\*') + helpclose + + exec "help! arglistid([{winnr})" + call assert_equal("help", &filetype) + call assert_true(getline('.') =~ '\*arglistid()\*') + helpclose endfunc -- cgit