summaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorryanss2015-02-09 15:49:26 -0500
committerryanss2015-02-09 15:49:26 -0500
commit985fab2bbdac01dae965dec6d48c2a978e6e8f3d (patch)
tree72a75e091d35863cf2285d3805208934e186ef96 /syntax
parentd62b290db6334e57e2fbd727ef6b78b28a4f0848 (diff)
downloadvim-hn-985fab2bbdac01dae965dec6d48c2a978e6e8f3d.tar.gz
Fix code block syntax region regex
Diffstat (limited to 'syntax')
-rw-r--r--syntax/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim
index 419fe69..f4817d6 100644
--- a/syntax/hackernews.vim
+++ b/syntax/hackernews.vim
@@ -43,7 +43,7 @@ syn match Comment /^\s*Comment.*$/
syn region Constant start="\[http" end="\]"
" Highlight code blocks
-syn region Statement start="^\s+ " end="^\s "
+syn region Statement start="^\s\+ " end="^\s\+ "
" Highlight Hacker News header orange
syn match Title /^┌.*$/