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:
@@ -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 '.').
|
||||
|
Reference in New Issue
Block a user