vim-patch:8.0.1766: expanding abbreviation doesn't work

Problem:    Expanding abbreviation doesn't work. (Tooth Pik)
Solution:   Return OK instead of FALSE and FAIL instead of TRUE. (Christian
            Brabandt)
c3c3e69896
This commit is contained in:
Jan Edmund Lazo
2018-11-01 22:51:40 -04:00
parent 44c111e49f
commit a9b7debbbc
2 changed files with 18 additions and 2 deletions

View File

@@ -8360,10 +8360,10 @@ static bool ins_tab(void)
static bool ins_eol(int c)
{
if (echeck_abbr(c + ABBR_OFF)) {
return false;
return true;
}
if (stop_arrow() == FAIL) {
return true;
return false;
}
undisplay_dollar();