aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-07-29 07:12:11 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-07-29 07:47:17 +0800
commit04ba81ddba047604e7df4a5a9a451d5059950e48 (patch)
tree94170d151a11b258288eb454a3a3e719c97a6580 /src/nvim/normal.c
parentac5139eae412c5b80ffe5fb5f3d1c9461bf91940 (diff)
downloadrneovim-04ba81ddba047604e7df4a5a9a451d5059950e48.tar.gz
rneovim-04ba81ddba047604e7df4a5a9a451d5059950e48.tar.bz2
rneovim-04ba81ddba047604e7df4a5a9a451d5059950e48.zip
vim-patch:8.2.3236: mode() does not indicate using CTRL-O in Select mode
Problem: mode() does not indicate using CTRL-O in Select mode. Solution: Use "vs" and similar. (closes vim/vim#8640) https://github.com/vim/vim/commit/eaf3f36168f85c8e0ab7083cd996b9fbe937045d
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 4213e6f946..9185062f94 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -92,8 +92,6 @@ static linenr_T resel_VIsual_line_count; /* number of lines */
static colnr_T resel_VIsual_vcol; /* nr of cols or end col */
static int VIsual_mode_orig = NUL; /* saved Visual mode */
-static int restart_VIsual_select = 0;
-
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "normal.c.generated.h"