On Sunday, June 22, 2014 10:41:38 AM UTC-5, Boyko Bantchev wrote:
> On 22 June 2014 16:54, DwigtArmyOfChampions
>
> <dwightarmyofchampions@hotmail.com> wrote:
>
> > I want to be able to use Vim to properly format HTML source code.
>
> > ............
>
> > Is any of this possible in Vim? If not, can someone recommend another utility to accomplish this?
>
>
>
> Anything is possible to achieve by writing a script, but using
>
> an utility such as tidy is probably a better option.
I assume you're talking about: http://www.w3.org/People/Raggett/tidy/
I'd also recommend using that rather than Vim to reformat HTML.
Something you might consider, is using tidy in either the 'equalprg' or 'formatprg' option of Vim. That way you can invoke tidy automatically using Vim as you edit.
--
--
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