From be18f98346720e1eef941ae1a5b1b17d4ac14e6d Mon Sep 17 00:00:00 2001 From: ryanss Date: Sat, 7 Feb 2015 16:50:37 -0500 Subject: Highlight Hacker News header orange --- syntax/hackernews.vim | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- cgit v1.2.3