At the moment I have to write a lot of HTML stuff (unfortunately). Vim is my favorite editor/IDE for almost everything. I'm using the 'omni completion' plugin for code completion, which works really fine with python and php. It also works with HTML, however it uses upper case HTML tags which is really annoying.
Is there a way to tell vim or omni completion that upper case HTML are completely of limits.
It should only offer uppercase tag names if your typed tag starts with uppercase characters.
There's the following code in $VIMRUNTIME/autoload/htmlcomplete.vim
:
if &filetype == 'html' && exists("uppercase_tag")
So one workaround would be switching the filetype to xml
(but then it doesn't know about all HTML tags, only existing in the document), or you can modify the script and put your copy to ~/.vim/autoload/htmlcomplete.vim
, so that it will override the default one.