mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user