diff options
| author | ryanss | 2015-02-07 16:50:37 -0500 |
|---|---|---|
| committer | ryanss | 2015-02-07 16:50:37 -0500 |
| commit | be18f98346720e1eef941ae1a5b1b17d4ac14e6d (patch) | |
| tree | 99ab247e623dbc08fbf530388342e321219a1c4f /syntax/hackernews.vim | |
| parent | 4c8dd8592a6509fbb7ca62bec2b846ed5b8d7024 (diff) | |
| download | vim-hn-be18f98346720e1eef941ae1a5b1b17d4ac14e6d.tar.gz | |
Highlight Hacker News header orange
Diffstat (limited to 'syntax/hackernews.vim')
| -rw-r--r-- | syntax/hackernews.vim | 6 |
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" |
