updated for version 7.0145

This commit is contained in:
Bram Moolenaar
2005-09-10 19:24:59 +00:00
parent 578b49e4f7
commit dcca87b394
3 changed files with 15 additions and 20 deletions

View File

@ -1,7 +1,7 @@
" Vim completion script
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2005 Sep 09
" Last Change: 2005 Sep 10
" This function is used for the 'occultfunc' option.
@ -144,7 +144,7 @@ function! ccomplete#StructMembers(typename, items)
let typename = a:typename
let qflist = []
while 1
exe 'silent! vimgrep /\t' . typename . '\>/j ' . fnames
exe 'silent! vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames
let qflist = getqflist()
if len(qflist) > 0 || match(typename, "::") < 0
break