title: How do I make vim syntax highlight a whole line?
body: <p>I'd like to have vim highlight entire lines that match certain patterns.  I can get all the text in a line to highlight (by doing <code>syn match MyMatch "^.*text-to-match.*$"</code>), but it always stops at the end of the text.  I'd like to to continue to the end of the term, like highlighting CursorLine.</p>
  
  <p>I've tried replacing <code>$</code> with a <code>\n^</code>, hoping that would wrap it around.  No change.  (I didn't actually expect this would work, but there's no harm in trying.)  I also tried adjusting the syn-pattern-offset (which I read about here: <a href="http://vimdoc.sourceforge.net/htmldoc/syntax.html#:syn-pattern" rel="noreferrer">http://vimdoc.sourceforge.net/htmldoc/syntax.html#:syn-pattern</a>).  Long story short, adding <code>he=he-5</code> will highlight 5 fewer characters, but <code>he=he+5</code> doesn't show any extra characters because there aren't characters to highlight.</p>
  
  <p>This is my first attempt at making a vim syntax and I'm relatively new to vim.  Please be gentle and include explanations.</p>
  
  <p>Thanks!</p>
  
  <p>(edit: Forgot to include, this is a multiline highlight.  That probably increases the complexity a bit.)</p>