Talki Walki wrote:

> vim version: 7.3.138
> 
> When editin an HTML file in vim, omni completion produces error on id
> attribute, if non-existent css file is included. Error message:
> 
> Error detected while processing function htmlcomplete#CompleteTags:
> line 304:
> E121: Undefined variable: classlines
> 
> Apparently classlines is not initialized in the loop. Simple patch attached.
> 
> 
> Steps to reproduce:
> 
> Edit an HTML file in vim. e.g.
> vim --noplugin index.html
> Include a stylesheet that's not a file, e.g.
> <link rel="stylesheet" href="/css/404.css" type="text/css"
> media="screen" charset="utf-8" />
> In insert mode, type <div id=" followed by CTRL-X_CTRL-O
> The error message is produced.

Thanks.  Including the maintainer.

-- 
Give a man a computer program and you give him a headache,
but teach him to program computers and you give him the power
to create headaches for others for the rest of his life...
        R. B. Forest

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui