I propose following patch (I tested to confirm that it resolves the issue when 
I repeat steps):

diff -r 22683fa1b4ed src/misc1.c
--- a/src/misc1.c       Thu Mar 07 19:38:54 2013 +0100
+++ b/src/misc1.c       Fri Mar 08 10:47:54 2013 -0500
@@ -438,7 +438,8 @@
 
 #ifdef FEAT_COMMENTS
     /* In format_lines() (i.e. not insert mode), fo+=q is needed too...  */
-    if ((State & INSERT) || has_format_option(FO_Q_COMS))
+    if (((State & INSERT) && has_format_option(FO_WRAP_COMS))
+            || has_format_option(FO_Q_COMS))
        lead_len = get_leader_len(ml_get(lnum), NULL, FALSE, TRUE);
 #endif
     regmatch.regprog = vim_regcomp(curbuf->b_p_flp, RE_MAGIC);


"make test" passes, as far as I can tell (reports "ALL DONE").

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui