summaryrefslogtreecommitdiffstats
path: root/src/mark.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/mark.c
parentbabfcf54ae9bf9570eddf4958a553635cd589e21 (diff)
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/mark.c')
-rw-r--r--src/mark.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index c7395f3a0e..f9e3ce3cf4 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -901,7 +901,9 @@ ex_jumps(exarg_T *eap UNUSED)
if (curwin->w_jumplist[i].fmark.mark.lnum != 0)
{
name = fm_getname(&curwin->w_jumplist[i].fmark, 16);
- if (name == NULL) /* file name not available */
+
+ // apply :filter /pat/ or file name not available
+ if (name == NULL || message_filtered(name))
continue;
msg_putchar('\n');