summaryrefslogtreecommitdiff
path: root/syntax/hackernews.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/hackernews.vim')
-rw-r--r--syntax/hackernews.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim
index d199f1a..2cf6bfc 100644
--- a/syntax/hackernews.vim
+++ b/syntax/hackernews.vim
@@ -24,5 +24,11 @@ syn region Constant start="\[http" end="\]"
" Highlight code blocks
syn region Statement start="^\s+ " end="^\s "
+" Highlight Hacker News header orange
+syn match Title /^┌.*$/
+syn match Title /^│.*$/
+syn match Title /^└.*$/
+highlight Title ctermfg=208 guifg=#ff6600
+
let b:current_syntax = "hackernews"