comparison src/mark.c @ 14968:c5ec5ddbe814 v8.1.0495

patch 8.1.0495: :filter only supports some commands commit https://github.com/vim/vim/commit/f86db78fed78541cefdb706e4779ce5ae9ca7820 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 25 13:31:37 2018 +0200 patch 8.1.0495: :filter only supports some commands Problem: :filter only supports some commands. Solution: Add :filter support for more commands. (Marcin Szamotulski, closes #2856)
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Oct 2018 13:45:05 +0200
parents 8a4c0ab88201
children fe428bee74b3
comparison
equal deleted inserted replaced
14967:5acaac1226fd 14968:c5ec5ddbe814
899 for (i = 0; i < curwin->w_jumplistlen && !got_int; ++i) 899 for (i = 0; i < curwin->w_jumplistlen && !got_int; ++i)
900 { 900 {
901 if (curwin->w_jumplist[i].fmark.mark.lnum != 0) 901 if (curwin->w_jumplist[i].fmark.mark.lnum != 0)
902 { 902 {
903 name = fm_getname(&curwin->w_jumplist[i].fmark, 16); 903 name = fm_getname(&curwin->w_jumplist[i].fmark, 16);
904 if (name == NULL) /* file name not available */ 904
905 // apply :filter /pat/ or file name not available
906 if (name == NULL || message_filtered(name))
905 continue; 907 continue;
906 908
907 msg_putchar('\n'); 909 msg_putchar('\n');
908 if (got_int) 910 if (got_int)
909 { 911 {