aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-18 08:54:53 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-20 06:08:41 +0800
commitf357c9bca59a58c8586a348d0d1dcd81116079a3 (patch)
tree4fe3cccbb140a0063fb75c0b59373e59a95ea9b1 /src/nvim/getchar.c
parent8620dfc5bdedc26e24119eb016d7e6121e9b49b6 (diff)
downloadrneovim-f357c9bca59a58c8586a348d0d1dcd81116079a3.tar.gz
rneovim-f357c9bca59a58c8586a348d0d1dcd81116079a3.tar.bz2
rneovim-f357c9bca59a58c8586a348d0d1dcd81116079a3.zip
vim-patch:8.1.1076: file for Insert mode is much too big
Problem: File for Insert mode is much too big. Solution: Split off the code for Insert completion. (Yegappan Lakshmanan, closes vim/vim#4044) https://github.com/vim/vim/commit/7591bb39d58ece38a5fef984a08ea9012616c1f9 Cherry-pick ins_compl_len() -> get_compl_len() from patch 8.2.4001. Revert a71c5e9eb98fbb2ca88510269935cdcda37369fc: ctrl_x_mode is no longer a global variable, so l_ctrl_x_mode is no longer needed.
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 00372d4f3d..2d10ad7ddb 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -21,6 +21,7 @@
#include "nvim/garray.h"
#include "nvim/getchar.h"
#include "nvim/input.h"
+#include "nvim/insexpand.h"
#include "nvim/keycodes.h"
#include "nvim/lua/executor.h"
#include "nvim/main.h"