forked from aniani/vim
updated for version 7.2-091
This commit is contained in:
@@ -1177,8 +1177,16 @@ cs_help(eap)
|
|||||||
(void)MSG_PUTS(_("cscope commands:\n"));
|
(void)MSG_PUTS(_("cscope commands:\n"));
|
||||||
while (cmdp->name != NULL)
|
while (cmdp->name != NULL)
|
||||||
{
|
{
|
||||||
(void)smsg((char_u *)_("%-5s: %-30s (Usage: %s)"),
|
char *help = _(cmdp->help);
|
||||||
cmdp->name, _(cmdp->help), cmdp->usage);
|
int space_cnt = 30 - vim_strsize((char_u *)help);
|
||||||
|
|
||||||
|
/* Use %*s rather than %30s to ensure proper alignment in utf-8 */
|
||||||
|
if (space_cnt < 0)
|
||||||
|
space_cnt = 0;
|
||||||
|
(void)smsg((char_u *)_("%-5s: %s%*s (Usage: %s)"),
|
||||||
|
cmdp->name,
|
||||||
|
help, space_cnt, " ",
|
||||||
|
cmdp->usage);
|
||||||
if (strcmp(cmdp->name, "find") == 0)
|
if (strcmp(cmdp->name, "find") == 0)
|
||||||
MSG_PUTS(_("\n"
|
MSG_PUTS(_("\n"
|
||||||
" c: Find functions calling this function\n"
|
" c: Find functions calling this function\n"
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
91,
|
||||||
/**/
|
/**/
|
||||||
90,
|
90,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user