This commit is contained in:
James McCoy
2017-05-12 12:01:07 -04:00
parent 901c8fbcdb
commit ad80a83a1a
2 changed files with 5 additions and 5 deletions

View File

@@ -4926,7 +4926,7 @@ static unsigned quote_meta(char_u *dest, char_u *src, int len)
|| ctrl_x_mode == CTRL_X_THESAURUS) || ctrl_x_mode == CTRL_X_THESAURUS)
break; break;
// fallthrough // fallthrough
case '^': /* currently it's not needed. */ case '^': // currently it's not needed.
case '$': case '$':
m++; m++;
if (dest != NULL) if (dest != NULL)

View File

@@ -4878,8 +4878,9 @@ void fix_help_buffer(void)
continue; continue;
e1 = vim_strrchr(t1, '.'); e1 = vim_strrchr(t1, '.');
e2 = vim_strrchr(path_tail(f2), '.'); e2 = vim_strrchr(path_tail(f2), '.');
if (e1 == NULL || e2 == NULL) if (e1 == NULL || e2 == NULL) {
continue; continue;
}
if (fnamecmp(e1, ".txt") != 0 if (fnamecmp(e1, ".txt") != 0
&& fnamecmp(e1, fname + 4) != 0) { && fnamecmp(e1, fname + 4) != 0) {
/* Not .txt and not .abx, remove it. */ /* Not .txt and not .abx, remove it. */
@@ -5949,9 +5950,8 @@ void set_context_in_sign_cmd(expand_T *xp, char_u *arg)
// :sign define {name} {args}... {last}= // :sign define {name} {args}... {last}=
// | | // | |
// last p // last p
if (p == NULL) if (p == NULL) {
{ // Expand last argument name (before equal sign).
/* Expand last argument name (before equal sign). */
xp->xp_pattern = last; xp->xp_pattern = last;
switch (cmd_idx) switch (cmd_idx)
{ {