1
0
forked from aniani/vim

updated for version 7.3.471

Problem:    Can't abort listing placed signs.
Solution:   Check "got_int". (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2012-03-16 14:32:15 +01:00
parent 84f7235bdb
commit 1c0b03e857
3 changed files with 5 additions and 3 deletions

View File

@@ -6729,7 +6729,7 @@ ex_sign(eap)
if (idx == SIGNCMD_LIST && *arg == NUL)
{
/* ":sign list": list all defined signs */
for (sp = first_sign; sp != NULL; sp = sp->sn_next)
for (sp = first_sign; sp != NULL && !got_int; sp = sp->sn_next)
sign_list_defined(sp);
}
else if (*arg == NUL)