On Wed, Sep 20, 2006 at 01:33:54PM -0700, Gautam Iyer wrote:
> Maybe this has been discussed already: When pressing Ctrl-P / Ctrl-N,
> can we get vim to complete from the list of syntax keywords?

You can do that by setting:

:set omnifunc=syntaxcomplete#Complete

and then use <c-x><c-o>

You can also specifiy certain syntax groups too use, but look into the
docs/scripts, how to do that.

--
Martin

Reply via email to