summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryanss2015-01-20 23:59:00 -0500
committerryanss2015-01-20 23:59:00 -0500
commitf3454b4e27fd68fea0e55e8bfbd6765746f4a1b7 (patch)
tree33886956d672332d1274356824a7ce45802aefe6
parent44349f72a3546e61b5669ac368512302c5205bec (diff)
downloadvim-hn-f3454b4e27fd68fea0e55e8bfbd6765746f4a1b7.tar.gz
Specify code block syntax highlighting better to stop false positives
-rw-r--r--syntax/hackernews.vim2
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"