Mercurial > vim
comparison src/userfunc.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 | 162d79d273e6 |
children | 32787e326de2 |
comparison
equal
deleted
inserted
replaced
14967:5acaac1226fd | 14968:c5ec5ddbe814 |
---|---|
1880 { | 1880 { |
1881 if (!HASHITEM_EMPTY(hi)) | 1881 if (!HASHITEM_EMPTY(hi)) |
1882 { | 1882 { |
1883 --todo; | 1883 --todo; |
1884 fp = HI2UF(hi); | 1884 fp = HI2UF(hi); |
1885 if (message_filtered(fp->uf_name)) | |
1886 continue; | |
1885 if (!func_name_refcount(fp->uf_name)) | 1887 if (!func_name_refcount(fp->uf_name)) |
1886 list_func_head(fp, FALSE); | 1888 list_func_head(fp, FALSE); |
1887 } | 1889 } |
1888 } | 1890 } |
1889 } | 1891 } |