summaryrefslogtreecommitdiff
path: root/src/userfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-25 13:31:37 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-25 13:31:37 +0200
commitf86db78fed78541cefdb706e4779ce5ae9ca7820 (patch)
tree89b16ab5d0a2847b75bbe3c4ae782a0a03d6626f /src/userfunc.c
parentbabfcf54ae9bf9570eddf4958a553635cd589e21 (diff)
downloadvim-git-f86db78fed78541cefdb706e4779ce5ae9ca7820.tar.gz
patch 8.1.0495: :filter only supports some commandsv8.1.0495
Problem: :filter only supports some commands. Solution: Add :filter support for more commands. (Marcin Szamotulski, closes #2856)
Diffstat (limited to 'src/userfunc.c')
-rw-r--r--src/userfunc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index ec239c771..7c3b7f673 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -1882,6 +1882,8 @@ ex_function(exarg_T *eap)
{
--todo;
fp = HI2UF(hi);
+ if (message_filtered(fp->uf_name))
+ continue;
if (!func_name_refcount(fp->uf_name))
list_func_head(fp, FALSE);
}