aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-23 22:00:22 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-06-23 22:23:50 -0400
commit162bc62f56f85fb6c88b48aab2e3fc264f1612bb (patch)
treeab806b0d58a569b780dcceb2711c6e1042dd502d
parent287f7a46a4210f69474955fa56f6ca4b4c734f2d (diff)
downloadrneovim-162bc62f56f85fb6c88b48aab2e3fc264f1612bb.tar.gz
rneovim-162bc62f56f85fb6c88b48aab2e3fc264f1612bb.tar.bz2
rneovim-162bc62f56f85fb6c88b48aab2e3fc264f1612bb.zip
vim-patch:8.0.1480: patch missing change
Problem: Patch missing change. Solution: Add missing change. https://github.com/vim/vim/commit/0562532c2eee6205d225aa1dc7e3e89af0dfd990
-rw-r--r--src/nvim/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/state.c b/src/nvim/state.c
index e6eeaac8d0..7c7d035366 100644
--- a/src/nvim/state.c
+++ b/src/nvim/state.c
@@ -143,7 +143,7 @@ char *get_mode(void)
}
if (ins_compl_active()) {
buf[1] = 'c';
- } else if (ctrl_x_mode == 1) {
+ } else if (ctrl_x_mode_not_defined_yet()) {
buf[1] = 'x';
}
}