aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-09 17:13:44 +0800
committerGitHub <noreply@github.com>2022-08-09 17:13:44 +0800
commitcd14efd281c260c92936f05bf5f91780f8912f81 (patch)
tree29b7778ae35f57f8c260f5e34dbb38a050929285 /src/nvim/memory.c
parenta5e846b9969b1dfbd7e92f437f3ac7905039b84f (diff)
downloadrneovim-cd14efd281c260c92936f05bf5f91780f8912f81.tar.gz
rneovim-cd14efd281c260c92936f05bf5f91780f8912f81.tar.bz2
rneovim-cd14efd281c260c92936f05bf5f91780f8912f81.zip
vim-patch:8.1.1823: command line history code is spread out (#19688)
Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes vim/vim#4779) Also graduate the +cmdline_hist feature. https://github.com/vim/vim/commit/d7663c22c6c1ff0f86b81371586fbc851d3a3e9e
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 5ae7f7bbe3..4d00c0212e 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -619,6 +619,7 @@ char *arena_memdupz(Arena *arena, const char *buf, size_t size)
# include "nvim/buffer.h"
# include "nvim/charset.h"
+# include "nvim/cmdhist.h"
# include "nvim/diff.h"
# include "nvim/edit.h"
# include "nvim/eval/typval.h"