diff options
Diffstat (limited to 'src/nvim/state.c')
-rw-r--r-- | src/nvim/state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/state.c b/src/nvim/state.c index a4b394c9e4..5921bd45bf 100644 --- a/src/nvim/state.c +++ b/src/nvim/state.c @@ -73,13 +73,13 @@ getkey: } } -/// Return TRUE if in the current mode we need to use virtual. -int virtual_active(void) +/// Return true if in the current mode we need to use virtual. +bool virtual_active(void) { // While an operator is being executed we return "virtual_op", because // VIsual_active has already been reset, thus we can't check for "block" // being used. - if (virtual_op != MAYBE) { + if (virtual_op != kNone) { return virtual_op; } return ve_flags == VE_ALL |