diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-20 19:22:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 19:22:18 -0500 |
commit | a1ec36ff31ff1fd545dd135faa47dc782b41a687 (patch) | |
tree | c77f727d4e818b036051270efa5197ddb7ea0c96 /src/nvim/edit.c | |
parent | 1e5913483469528c7e8d1f927b28c0185eb94941 (diff) | |
parent | afe7c43025c0b2ebecb13e8fa1cbd1e1c23ba6a2 (diff) | |
download | rneovim-a1ec36ff31ff1fd545dd135faa47dc782b41a687.tar.gz rneovim-a1ec36ff31ff1fd545dd135faa47dc782b41a687.tar.bz2 rneovim-a1ec36ff31ff1fd545dd135faa47dc782b41a687.zip |
Merge pull request #13572 from janlazo/vim-8.2.0180
vim-patch:8.2.{180,686,2166,2171}
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 1cf821f786..45bd84261d 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -3716,7 +3716,7 @@ static bool ins_compl_prep(int c) retval = true; } - auto_format(FALSE, TRUE); + auto_format(false, true); // Trigger the CompleteDonePre event to give scripts a chance to // act upon the completion before clearing the info, and restore @@ -6503,7 +6503,7 @@ stop_insert ( curwin->w_cursor = tpos; } - auto_format(TRUE, FALSE); + auto_format(true, false); if (ascii_iswhite(cc)) { if (gchar_cursor() != NUL) |