title: Smart hard wrap for list of items in vim
body: <p>I love vim, and I really like to hard wrap my texts when I write them. The markdown plugin from Tim Pope is great, and is build such that when I try to hard wrap a list of items it does the job right. Ok here is what I mean by doing the job right:</p>
  
  <pre><code>- here I write a long long long line that is longer than the 80 caracters of a line and therefore should be wrapped.
  - This is a short line
  - here I write another long long long line that is longer than the 80 caracters of a line and therefore should be wrapped.
  </code></pre>
  
  <p>should become (after applying gqap):</p>
  
  <pre><code>- here I write a long long long line that is longer than the 80 caracters
    of a line and therefore should be wrapped.
  - This is a short line
  - here I write another long long long line that is longer than the 80 caracters
    of a line and therefore should be wrapped.
  </code></pre>
  
  <p>Now, the behaviour of the same command for a text with a tex filetype is not that smart:</p>
  
  <pre><code>\begin{itemize}
  \item here I write a long long long line that is longer than the 80 caracters I fixed and therefore should be wrapped.
  \item This is a short line
  \item here I write another long long long line that is longer than the 80 caracters I fixed and therefore should be wrapped.
  \end{itemize}
  </code></pre>
  
  <p>becomes (still after a gqap):</p>
  
  <pre><code>\begin{itemize} \item here I write a long long long line that is longer than
          the 80 caracters I fixed and therefore should be wrapped.  \item This
          is a short line \item here I write another long long long line that is
          longer than the 80 caracters I fixed and therefore should be wrapped.
  \end{itemize}
  </code></pre>
  
  <p>How can I make the wrapping of the list of items in LateX behave like the markdown list?</p>
  
  <p>To me it looks like I should redefine the syntax file, but I have no idea how (the way markdown works is by using the elements defined for HTML).</p>