brianc / jade-mode

Emacs major mode for jade template highlighting
MIT License
156 stars 41 forks source link

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

Open feklee opened 12 years ago

feklee commented 12 years ago

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.

jpallari commented 12 years ago

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