diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-25 13:31:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-25 13:31:37 +0200 |
commit | f86db78fed78541cefdb706e4779ce5ae9ca7820 (patch) | |
tree | 89b16ab5d0a2847b75bbe3c4ae782a0a03d6626f /src/mark.c | |
parent | babfcf54ae9bf9570eddf4958a553635cd589e21 (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.c | 4 |
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'); |