diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-18 08:54:53 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-20 06:08:41 +0800 |
commit | f357c9bca59a58c8586a348d0d1dcd81116079a3 (patch) | |
tree | 4fe3cccbb140a0063fb75c0b59373e59a95ea9b1 /src/nvim/api/vim.c | |
parent | 8620dfc5bdedc26e24119eb016d7e6121e9b49b6 (diff) | |
download | rneovim-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/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 5d941890db..51807c9ca8 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -37,6 +37,7 @@ #include "nvim/highlight.h" #include "nvim/highlight_defs.h" #include "nvim/highlight_group.h" +#include "nvim/insexpand.h" #include "nvim/lua/executor.h" #include "nvim/mapping.h" #include "nvim/mark.h" |