0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.2263

Problem:    :filter does not work for many commands.  Can only get matching
            messages.
Solution:   Make :filter work for :command, :map, :list, :number and :print.
            Make ":filter!" show non-matching lines.
This commit is contained in:
Bram Moolenaar
2016-08-26 22:29:11 +02:00
parent 2570957607
commit d29459baa6
8 changed files with 68 additions and 6 deletions

View File

@@ -572,6 +572,7 @@ typedef struct
char_u *save_ei; /* saved value of 'eventignore' */
# endif
regmatch_T filter_regmatch; /* set by :filter /pat/ */
int filter_force; /* set for :filter! */
} cmdmod_T;
#define MF_SEED_LEN 8