Skip to content

Instantly share code, notes, and snippets.

@NateEag
Created March 17, 2013 02:59
Show Gist options
  • Save NateEag/5179366 to your computer and use it in GitHub Desktop.
Save NateEag/5179366 to your computer and use it in GitHub Desktop.
web-mode's fill-paragraph behavior test case - after fill-paragraph
{# This is a test comment. Imagine I was writing some lengthy explanation of an
odd subtlety in this template's behavior, and at some point, I reached a
point where I wanted to refill the paragraph, so I pressed M-q. web-mode
will mangle the following code badly. #} {% for diff in commit.diffs %}
<div class="source-view"> <div class="source-header"> <div class="meta"><a
name="{{ loop.index }}">{{ diff.file }}</div> </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment