summaryrefslogtreecommitdiff
path: root/syntax/hackernews.vim
diff options
context:
space:
mode:
authorryanss2015-01-21 23:59:00 -0500
committerryanss2015-01-21 23:59:00 -0500
commit478e8c306e887f2228c9e52c24948785a9a2a243 (patch)
treea4cb60ca6b1921eac46bbe3a3fc06d57f58bd239 /syntax/hackernews.vim
parentf3454b4e27fd68fea0e55e8bfbd6765746f4a1b7 (diff)
downloadvim-hn-478e8c306e887f2228c9e52c24948785a9a2a243.tar.gz
Add "Ignore" syntax highlighting to top story id's
Diffstat (limited to 'syntax/hackernews.vim')
-rw-r--r--syntax/hackernews.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim
index 889f637..ff30f30 100644
--- a/syntax/hackernews.vim
+++ b/syntax/hackernews.vim
@@ -6,6 +6,7 @@ if exists("b:current_syntax")
endif
+syn match Ignore /\s\[[0-9]\{3,}\]$/
syn match Comment /^\s*Comment.*$/
syn region Constant start="\[http" end="\]"
syn region Statement start="^\s+ " end="^\s "