0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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)
This commit is contained in:
Bram Moolenaar
2016-04-14 13:51:37 +02:00
parent ebf7dfa6f1
commit 81edd171a9
4 changed files with 319 additions and 294 deletions

View File

@@ -6203,6 +6203,13 @@ find_help_tags(
*d++ = *s;
/*
* If tag contains "({" or "([", tag terminates at the "(".
* This is for help on functions, e.g.: abs({expr}).
*/
if (*s == '(' && (s[1] == '{' || s[1] =='['))
break;
/*
* If tag starts with ', toss everything after a second '. Fixes
* CTRL-] on 'option'. (would include the trailing '.').