diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-26 22:29:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-26 22:29:11 +0200 |
commit | d29459baa61819e59961804ed258efac5733ec70 (patch) | |
tree | 11154e516a0d506808a6bb51d77add58af7d6e16 /src/ex_cmds.h | |
parent | 257095760732597983bdd026e791907b7980e295 (diff) | |
download | vim-d29459baa61819e59961804ed258efac5733ec70.zip |
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.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 81b3ff809..eaa49158c 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -545,7 +545,7 @@ EX(CMD_filetype, "filetype", ex_filetype, EXTRA|TRLBAR|CMDWIN, ADDR_LINES), EX(CMD_filter, "filter", ex_wrongmodifier, - NEEDARG|EXTRA|NOTRLCOM, + BANG|NEEDARG|EXTRA|NOTRLCOM, ADDR_LINES), EX(CMD_find, "find", ex_find, RANGE|NOTADR|BANG|FILE1|EDITCMD|ARGOPT|TRLBAR, |