jade-mode icon indicating copy to clipboard operation
jade-mode copied to clipboard

fill-paragraph doesn't respect new-lines in comments

Open feklee opened this issue 12 years ago • 1 comments

Example:

//- First paragraph.
//-
//- Second paragraph.

Now, when I execute fill-paragraph (M-q) on the comment, then the result is:

//- First paragraph. Second paragraph.

In this case, however, I expect no change at all.

feklee avatar May 26 '12 10:05 feklee

The problem is that adaptive fill doesn't work properly. I don't know what breaks it. You can try setting the fill prefix manually with 'set-fill-prefix (C-x .)

jpallari avatar Aug 09 '12 15:08 jpallari