Thursday, March 20, 2014

Re: HTML auto indentation not working in vim

Am 2014-03-20 07:41, schrieb Arup Rakshit:
> I mean, when I am writing the below is coming for e.g. :
>
> <html>
> <head> </head>
> </html>
>
> instead of
>
> <html>
> <head> </head>
> </html>

That is, because by default the html indent script does not indent any
of those tags.
You might want to customize what will be indented by Vim. To do so, I
suggest you read
:h html-indent

There you'll see how you can let Vim indent the <html> and <head> tags.

Best,
Christian

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment