hi guys i am trying to use omnicomplete with a css file, and it doesn't work....

i followed instructions from here:

http://amix.dk/blog/viewEntry/19021

specifically i added the following to my vimrc
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType c set omnifunc=ccomplete#Complete

now i am editing a .css file but when when i type C-x C-o
( as the help file suggests here:
http://vimdoc.sourceforge.net/htmldoc/version7.html#new-omni-completion
 )
nothing happens in the text.
The only difference i take is the change of vim's line from

-- INSERT --
to
-- (insert) --


any ideas?

thanks in advance for your time,
nicolas

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to