0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.1.1823: command line history code is spread out

Problem:    Command line history code is spread out.
Solution:   Put the code in a new file. (Yegappan Lakshmanan, closes #4779)
            Also graduate the +cmdline_hist feature.
This commit is contained in:
Bram Moolenaar
2019-08-06 21:59:57 +02:00
parent 0acae7acc4
commit d7663c22c6
26 changed files with 852 additions and 894 deletions

View File

@@ -1097,9 +1097,7 @@ EXTERN int need_start_insertmode INIT(= FALSE);
// start insert mode soon
EXTERN char_u *last_cmdline INIT(= NULL); // last command line (for ":)
EXTERN char_u *repeat_cmdline INIT(= NULL); // command line for "."
#ifdef FEAT_CMDHIST
EXTERN char_u *new_last_cmdline INIT(= NULL); // new value for last_cmdline
#endif
EXTERN char_u *autocmd_fname INIT(= NULL); // fname for <afile> on cmdline
EXTERN int autocmd_fname_full; // autocmd_fname is full path
EXTERN int autocmd_bufnr INIT(= 0); // fnum for <abuf> on cmdline