diff options
Diffstat (limited to 'syntax')
| -rw-r--r-- | syntax/hackernews.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim index 40240ab..bc249a2 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -16,6 +16,14 @@ endif " Hide hacker news item id at end of main page lines syn match Ignore /\s\[[0-9]\{3,}\]$/ +" Make sure `Ignore` highlight group is hidden +" Some colorschemes do not hide the `Ignore` group (ex. Solarized) +if has('gui_running') + highlight Ignore guifg=bg +else + highlight Ignore ctermfg=bg +endif + " Remove emphesis from all components of main page item except title syn match Comment /^\s*[0-9]\{1,2}\.\s/ syn match Comment /\s(\S\+\.\S\+)/ |
