summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-26 22:29:11 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-26 22:29:11 +0200
commitd29459baa61819e59961804ed258efac5733ec70 (patch)
tree11154e516a0d506808a6bb51d77add58af7d6e16 /src/ex_cmds.h
parent257095760732597983bdd026e791907b7980e295 (diff)
downloadvim-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.h2
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,