title: vim syntax highlighting for git commit messages - custom commentchar
body: <p>As mentioned <a href="https://stackoverflow.com/a/14931661/835945">in this answer</a>, since Git 1.8.2 you can use <code>core.commentchar</code> config value to change commit message comments to something else than the default <code>#</code> (hashmark or hashsign).</p>
  
  <p>That is a life-saver e.g. if your commit message policy wants you to start commit message with ticket number:</p>
  
  <pre><code>#123 Fixed array indices
  </code></pre>
  
  <p>Sad part is that this breaks Vim syntax highlighting.</p>
  
  <p>How can you bring the beauty back?</p>