Is there a indent script for HTML or XML?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Is there a indent script for HTML or XML?

vudghkzm
Hello, everyone.

I know php.vim that is a indent script for php.
I think that it is very useful.
I want a indent script for HTML or XML.
But I can not search it.
Is there a indent script for HTML or XML?

Sincerely.
Good-bye.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is there a indent script for HTML or XML?

A.J.Mechelynck
vudghkzm wrote:

> Hello, everyone.
>
> I know php.vim that is a indent script for php.
> I think that it is very useful.
> I want a indent script for HTML or XML.
> But I can not search it.
> Is there a indent script for HTML or XML?
>
> Sincerely.
> Good-bye.
>
>
>

Have you tried

        :filetype indent on

? This should make $VIMRUNTIME/indent/html.vim and
$VIMRUNTIME/indent/xml.vim available to you.


Best regards,
Tony.

Loading...