Dnia poniedziaƂek, 24 kwietnia 2006 15:00, Benji Fisher napisaƂ:
>      I have not looked at the structure of the completion scripts, but
> isn't there a way for one script to include another?  Under
> $VIMRUNTIME/ftplugin/ the file tex.vim (for LaTeX) :source's
> plaintex.vim , which :source's initex.vim .  You should be able to do
> something similar with XHTML 1.0 Frameset/Transitional/Strict.

Yes it is possible but because data files are generated automatically
seeking a way to "compress" them is hard.

Also, unification was done on level of engine between XML and HTML.

>      This strategy no only reduces file size, it also makes maintenance
> easier.  

Actually no. Version with including had to be maintained manually and so
far the only (reported) bug in data files was in file created manually.

Also similarities between Frameset/Transitional/Strict are misleading
and could lead to hard to spot errors.

> > Add functions for detection of DOCTYPE to ftplugins for xhtml and
> > html.
> >
> > Still there is usability problem for creation of new files. Maybe some
> > general completion for insertion of DOCTYPE and setting appropriately
> > completion.
>
>      Right, and allow users to set a variable (g:html_omni_version or
> something) that the ftplugins can check to use as a default for new
> files.

This will be done by insertion of DOCTYPE.

m.

Reply via email to