summaryrefslogtreecommitdiff
path: root/syntax/hackernews.vim
diff options
context:
space:
mode:
authorryanss2015-02-28 13:07:40 -0500
committerryanss2015-02-28 13:07:40 -0500
commit8d1b3be4be06c4304bc19c93d99828faa2f3eaff (patch)
tree42d1c17591eb0acba8c6c92c738d0b5b0fa08b9d /syntax/hackernews.vim
parent7c68afc6d9983e3d77f7dcb48409f24e940e021f (diff)
downloadvim-hn-8d1b3be4be06c4304bc19c93d99828faa2f3eaff.tar.gz
Highlight OP username in comment titles
Diffstat (limited to 'syntax/hackernews.vim')
-rw-r--r--syntax/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim
index 7525ed2..818421c 100644
--- a/syntax/hackernews.vim
+++ b/syntax/hackernews.vim
@@ -38,7 +38,7 @@ syn match Comment /^.*ago\s|.*comments/
syn match Comment /^[0-9an]\+\s.\+\sago$/
" Comment titles
-syn match Comment /^\s*Comment\sby.\+ago:$/
+syn match Comment /^\s*Comment\sby.\+ago:$/ contains=Question
" Highlight links
syn region Constant start="\[http" end="\]"