Closed nickdesaulniers closed 10 years ago
Yeah I followed these same instructions and can't get this to work either.
try
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
I just get pattern not found...
I pretend you wont to write <section>
element
So you should type <se
then press <ctrl+x><ctrl+o>
I think you miss one <
I have the same problem...
still no beans.
+ autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
+ Bundle 'othree/html5.vim'
added to: https://github.com/nickdesaulniers/dotfiles/blob/master/.vimrc
Can you do a small test?
vim test.html
to open a new file. Using html filetype<
Can you see any option? If yes, do you see doctype options? Including HTML5 doctype?
Hi, I installed by Vundle and only html5 syntax highlighting looks ok (without omnicomplete and indent). Copy or symbolic links "autoload" and "indent" bundled folders to ~/.vim/ resolve this issue for me. How to make install by Vundle correct out of the box (it's my third day with Vim and I can't live without this plugin ;)?
I've also been installing via Vundle, maybe that's the issue?
Are you update to latest version of Vundle?
I am using old vundle and it works fine.
And they have several changes (including plugin
syntax).
Maybe that's why.
I've updated only Vundle now and reinstalled html5 plugin. And everything works fine on my both computers. Thank you.
Sweet, running :BundleUpdate
updated Vundle for me and this now works. Thanks for all of the help everyone.
Hi, how do I use this? I've installed with vundle and added the following line to my
~/.vimrc
file:set omnifunc=syntaxcomplete#Complete " omnicompletion
then in an html file typed:se<ctrl+x><ctrl+o>
and expected a menu or something. What am I doing wrong?