vim

Where is the drupal omnifunc for vim?

Recently I tried out omni complete in vim, and I love it. It is included in vim 7. This adds a function lookup for php, html, python, javascript, css, xml, sql and c amongst others.

To enable under your home directory in the ".vimrc" file add one line
:autocmd FileType php set omnifunc=phpcomplete#CompletePHP

Syntax Highlighting

In "~/.vimrc"

:syntax enable
:colors pyte
:syntax on