aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r--src/nvim/mark.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index 2f2f2a7d74..c87b612dbd 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -786,8 +786,11 @@ void ex_jumps(exarg_T *eap)
for (i = 0; i < curwin->w_jumplistlen && !got_int; ++i) {
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');
if (got_int) {