diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-20 03:56:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-20 03:56:56 +0000 |
commit | 75a9fa68f6cdd6769813a8c5e055bfb00a08c089 (patch) | |
tree | daf1676b4e5ea491b7a370467a24b8181cc21827 /runtime/autoload/ccomplete.vim | |
parent | Adding upstream version 2:9.1.0377. (diff) | |
download | vim-6e41c59b20005243b269d19354c6e767d89e9c78.tar.xz vim-6e41c59b20005243b269d19354c6e767d89e9c78.zip |
Adding upstream version 2:9.1.0496.upstream/2%9.1.0496
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'runtime/autoload/ccomplete.vim')
-rw-r--r-- | runtime/autoload/ccomplete.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/ccomplete.vim b/runtime/autoload/ccomplete.vim index 7096dcf..355f724 100644 --- a/runtime/autoload/ccomplete.vim +++ b/runtime/autoload/ccomplete.vim @@ -3,7 +3,7 @@ vim9script noclear # Vim completion script # Language: C # Maintainer: The Vim Project <https://github.com/vim/vim> -# Last Change: 2023 Aug 10 +# Last Change: 2024 Jun 06 # Rewritten in Vim9 script by github user lacygoill # Former Maintainer: Bram Moolenaar <Bram@vim.org> @@ -210,7 +210,7 @@ export def Complete(findstart: bool, abase: string): any # {{{1 # Find the variable in the tags file(s) var diclist: list<dict<any>> = taglist('^' .. items[0] .. '$') # Remove members, these can't appear without something in front. - ->filter((_, v: dict<string>): bool => + ->filter((_, v: dict<any>): bool => v->has_key('kind') ? v.kind != 'm' : true) res = [] |