diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-01-08 13:13:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 13:13:43 +0100 |
commit | 3088ac71f9fb7eb409a24aac6b2339e004658884 (patch) | |
tree | 95f8759005aefa771ab6f469d832a58998bc4ccd /src | |
parent | b65a23a13a29176aa669afc5d1c906d1d51e0a39 (diff) | |
parent | 600e7e3b32345d71842b6b167359f4f72093e9b0 (diff) | |
download | rneovim-3088ac71f9fb7eb409a24aac6b2339e004658884.tar.gz rneovim-3088ac71f9fb7eb409a24aac6b2339e004658884.tar.bz2 rneovim-3088ac71f9fb7eb409a24aac6b2339e004658884.zip |
Merge pull request #16991 from bk2204/ex-mode
Make mode() return correct value in ex mode
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/state.c b/src/nvim/state.c index 68bc76660d..1fe8bb671d 100644 --- a/src/nvim/state.c +++ b/src/nvim/state.c @@ -180,7 +180,7 @@ char *get_mode(void) buf[1] = 'x'; } } - } else if (State & CMDLINE) { + } else if ((State & CMDLINE) || exmode_active) { buf[0] = 'c'; if (exmode_active) { buf[1] = 'v'; |