tags:

views:

254

answers:

1

I've setup my gVim to have omnicompletion, but only for the standard library atm.. How do I include other libraries (Django, Pygame, etc...)?

Thanks!

+1  A: 

Here's a tutorial on using omnicomplete with Django.

Ned Batchelder
I've read that tutorial, but I never got it to work and I got stuck on this part: 'DJANGO_SETTINGS_FILE=myapp.settings vim'. And when I was asking around #vim on IRC, someone told my that putting lines like these - 'autocmd FileType python set omnifunc=pythoncomplete#Complete' - is not a good idea, it's outdated or something.. He helped me out, and I got omnicompletion for the standard library. So, now I'm really confused on what I should follow.
I read that tutorial also. It also did not work for me. But, how did you get omnicompletion for the std library?
chiggsy