diff options
| author | ryanss | 2015-01-20 23:59:00 -0500 |
|---|---|---|
| committer | ryanss | 2015-01-20 23:59:00 -0500 |
| commit | f3454b4e27fd68fea0e55e8bfbd6765746f4a1b7 (patch) | |
| tree | 33886956d672332d1274356824a7ce45802aefe6 | |
| parent | 44349f72a3546e61b5669ac368512302c5205bec (diff) | |
| download | vim-hn-f3454b4e27fd68fea0e55e8bfbd6765746f4a1b7.tar.gz | |
Specify code block syntax highlighting better to stop false positives
| -rw-r--r-- | syntax/hackernews.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim index 7daba3a..889f637 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -8,7 +8,7 @@ endif syn match Comment /^\s*Comment.*$/ syn region Constant start="\[http" end="\]" -syn region Statement start=" " end=" " +syn region Statement start="^\s+ " end="^\s " let b:current_syntax = "hackernews" |
