I'm using vim 7.2.402 on Win XP. I have following text with
set tw=72
--------------------
  <p><a href="intro.html">aaaaaaa aaa aa aaa aaaa, aa aaaaa
    bbbbbbbbb - bb bbbbbbbbbbb bb bb bbbbbbbbbbbbbbbbbbbb - bb
    cccc ccccccccc ccccccccccccccccccccc cc ccc cccccc ccc ccccccc
    dddddddd dd dddd dddddddd d ddddddddddd. dd ddddd, dd ddddd
    ee ee eeeeeeeeeee eee eeeeeeeeee e ee eeee eee eeeeeee eeee
    ff fffff fff ffff, ff fffff ff ffffffffff ... ffffffff
    ggggggg ggggggg</a>
--------------------

If I visually select the text and do gw or gq, and
set ft=xhtml or html I get:
--------------------
  <p><a href="intro.html">aaaaaaa aaa aa aaa aaaa, aa aaaaa bbbbbbbbb -
    bb bbbbbbbbbbb bb bb bbbbbbbbbbbbbbbbbbbb - bb cccc ccccccccc
    ccccccccccccccccccccc cc ccc cccccc ccc ccccccc dddddddd dd dddd
    dddddddd d ddddddddddd. dd ddddd, dd ddddd ee ee eeeeeeeeeee eee
    eeeeeeeeee e ee eeee eee eeeeeee eeee
    ff fffff fff ffff, ff fffff ff ffffffffff ... ffffffff ggggggg
    ggggggg</a>
--------------------

Notice that the antepenultimate line isn't formatted correctly.
That doesn't happen if I set ft=text or leave it empty.
Many thanks in advance.

--
Cesar

--
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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to