aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-11-12 11:12:44 -0500
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-11-12 11:12:44 -0500
commit21824df3c6e0e73bb90482899560648fa04d55e5 (patch)
tree9b1a45cb9e20a732b453718b44c3b5013d636061
parent8fa7b6c8af127b90fa54aa7ac70735ca0149643a (diff)
downloadrneovim-21824df3c6e0e73bb90482899560648fa04d55e5.tar.gz
rneovim-21824df3c6e0e73bb90482899560648fa04d55e5.tar.bz2
rneovim-21824df3c6e0e73bb90482899560648fa04d55e5.zip
lint
-rw-r--r--src/nvim/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 857e69a001..7e8a7d1a35 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -6072,7 +6072,7 @@ void do_autocmd(char_u *arg_in, int forceit)
* Print header when showing autocommands.
*/
if (!forceit && *cmd == NUL) {
- /* Highlight title */
+ // Highlight title
MSG_PUTS_TITLE(_("\n--- Autocommands ---"));
}
@@ -6943,7 +6943,7 @@ static bool apply_autocmds_group(event_T event, char_u *fname, char_u *fname_io,
// Don't redraw while doing autocommands.
- ++RedrawingDisabled;
+ RedrawingDisabled++;
save_sourcing_name = sourcing_name;
sourcing_name = NULL; /* don't free this one */
save_sourcing_lnum = sourcing_lnum;