diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-06 21:59:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-06 21:59:57 +0200 |
commit | d7663c22c6c1ff0f86b81371586fbc851d3a3e9e (patch) | |
tree | 3979ae5a710ae9ca6fa4dcecde113961eca54cc1 /src/feature.h | |
parent | 0acae7acc40b9f12bff88d5e1dae494a761fec07 (diff) | |
download | vim-git-d7663c22c6c1ff0f86b81371586fbc851d3a3e9e.tar.gz |
patch 8.1.1823: command line history code is spread outv8.1.1823
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.
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/feature.h b/src/feature.h index e2166a135..89d6caef4 100644 --- a/src/feature.h +++ b/src/feature.h @@ -102,10 +102,8 @@ /* * +cmdhist Command line history. + * Now always included. */ -#ifdef FEAT_SMALL -# define FEAT_CMDHIST -#endif /* * Message history is fixed at 200 message, 20 for the tiny version. @@ -123,8 +121,7 @@ # define FEAT_JUMPLIST #endif -/* the cmdline-window requires FEAT_CMDHIST */ -#if defined(FEAT_CMDHIST) +#if defined(FEAT_SMALL) # define FEAT_CMDWIN #endif |