auto completion is affected from user's autocmd

64 views
Skip to first unread message

mattn

unread,
Jun 19, 2012, 9:47:40 PM6/19/12
to vim...@googlegroups.com
When using auto completion on php or C with user's autocmd, it's affected from user's autocmd.
For example, If user want to show up quickfix, below's autocmd is useful.

autocmd QuickfixCmdPost grep,grepadd,vimgrep if len(getqflist()) != 0 | copen | endif

phpcomplete, ccomplete call vimgrep to find somewhat to complete. So quickfix show up with finish of vimgrep.
Below is a patch. Please check.

https://gist.github.com/2957603

Bram Moolenaar

unread,
Jun 20, 2012, 5:55:16 AM6/20/12
to mattn, vim...@googlegroups.com
I'll include the part for ccomplete.vim. Please contact the authors of
the scripts, they might not see this message or know that their file is
affected.

--
It was recently discovered that research causes cancer in rats.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

mattn

unread,
Aug 2, 2012, 8:34:48 PM8/2/12
to vim...@googlegroups.com, mattn
I send e-mail few weeks ago. But I couldn't get replies.
Bram, what's best way to fix this?
Reply all
Reply to author
Forward
0 new messages