summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index d83dc405c..12764b408 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6216,6 +6216,9 @@ find_help_tags(
*/
if (*s == '\'' && s > arg && *arg == '\'')
break;
+ /* Also '{' and '}'. */
+ if (*s == '}' && s > arg && *arg == '{')
+ break;
}
*d = NUL;