aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-01-27 16:26:14 +0100
committerGitHub <noreply@github.com>2018-01-27 16:26:14 +0100
commit300d3651e295aa6c05b34921764ac1610f8a9ae6 (patch)
tree33e820c8d0e98f26978db83779f2191472f7a0b7 /src
parent0a56bd33308d2c4ae45f261498d69cb44fbd13c8 (diff)
parentdf4f9342b974c61860bfafd521faff56f62ceac4 (diff)
downloadrneovim-300d3651e295aa6c05b34921764ac1610f8a9ae6.tar.gz
rneovim-300d3651e295aa6c05b34921764ac1610f8a9ae6.tar.bz2
rneovim-300d3651e295aa6c05b34921764ac1610f8a9ae6.zip
Merge #7919 from hardenedapple/langremap-after-map
Diffstat (limited to 'src')
-rw-r--r--src/nvim/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/macros.h b/src/nvim/macros.h
index a98c1e05a0..0406574990 100644
--- a/src/nvim/macros.h
+++ b/src/nvim/macros.h
@@ -75,7 +75,7 @@
do { \
if (*p_langmap \
&& (condition) \
- && (p_lrm || KeyTyped) \
+ && (p_lrm || (vgetc_busy ? typebuf_maplen() == 0 : KeyTyped)) \
&& !KeyStuffed \
&& (c) >= 0) \
{ \