commit | 7b668e83d0635d082b7ec90d7d2aa30a9d7d8928 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Aug 23 23:51:21 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Aug 23 23:51:21 2016 +0200 |
tree | 5a766b46ad4395652cfe4d2545ee809047384fc9 | |
parent | 1b58cdd160c2e0ada0f638679a2aa27e4665fc48 [diff] [blame] |
patch 7.4.2244 Problem: Adding pattern to ":oldfiles" is not a generic solution. Solution: Add the ":filter /pat/ cmd" command modifier. Only works for some commands right now.
diff --git a/src/structs.h b/src/structs.h index f918442..1dfe131 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -571,6 +571,7 @@ # ifdef FEAT_AUTOCMD char_u *save_ei; /* saved value of 'eventignore' */ # endif + regmatch_T filter_regmatch; /* set by :filter /pat/ */ } cmdmod_T; #define MF_SEED_LEN 8