diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-29 00:17:30 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-29 00:17:30 -0400 |
commit | 9fab77c7fb6d50cc5b2438695f73df75d192f11f (patch) | |
tree | 70fb8bdc76c2ba25b491365c08704234b6392dbc /src/nvim/getchar.c | |
parent | 7c38f60b3babe332de2b61fa829e0ea6ba27fb3a (diff) | |
download | rneovim-9fab77c7fb6d50cc5b2438695f73df75d192f11f.tar.gz rneovim-9fab77c7fb6d50cc5b2438695f73df75d192f11f.tar.bz2 rneovim-9fab77c7fb6d50cc5b2438695f73df75d192f11f.zip |
globals: cmd_silent is bool
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 8dae82d137..4b12ceb95c 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -448,7 +448,7 @@ void flush_buffers(int flush_typeahead) } typebuf.tb_maplen = 0; typebuf.tb_silent = 0; - cmd_silent = FALSE; + cmd_silent = false; typebuf.tb_no_abbr_cnt = 0; } @@ -959,7 +959,7 @@ int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, bool silent) typebuf.tb_maplen += addlen; if (silent || typebuf.tb_silent > offset) { typebuf.tb_silent += addlen; - cmd_silent = TRUE; + cmd_silent = true; } if (typebuf.tb_no_abbr_cnt && offset == 0) /* and not used for abbrev.s */ typebuf.tb_no_abbr_cnt += addlen; @@ -1723,7 +1723,7 @@ static int vgetorpeek(int advance) *typebuf.tb_buf = (char_u)c; gotchars(typebuf.tb_buf, 1); } - cmd_silent = FALSE; + cmd_silent = false; break; } else if (typebuf.tb_len > 0) { |