diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-06-08 00:23:48 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-06-08 00:23:48 -0400 |
commit | 7e74ba4108240bd20f4ee7116c407def0d9f4458 (patch) | |
tree | 843ac76d6cf8235e7ecaf0dfa3b0fcafcad56e7d /src/nvim/normal.c | |
parent | 00fc216e2be1f3a32fd31fb08a2ecdc66acd0543 (diff) | |
parent | 24a329b53aa3be03ed79768cca04d63d6bb93891 (diff) | |
download | rneovim-7e74ba4108240bd20f4ee7116c407def0d9f4458.tar.gz rneovim-7e74ba4108240bd20f4ee7116c407def0d9f4458.tar.bz2 rneovim-7e74ba4108240bd20f4ee7116c407def0d9f4458.zip |
Merge pull request #4804 from brcolow/vim-7.4.1150
vim-patch:7.4.{1150,1151}
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index cc604352e1..d4055ac1ef 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -974,7 +974,7 @@ static int normal_execute(VimState *state, int key) s->old_col = curwin->w_curswant; s->c = key; - LANGMAP_ADJUST(s->c, true); + LANGMAP_ADJUST(s->c, get_real_state() != SELECTMODE); // If a mapping was started in Visual or Select mode, remember the length // of the mapping. This is used below to not return to Insert mode for as |