From 8774e769bb44fdddfc1f50eb4df194b84c4ba59c Mon Sep 17 00:00:00 2001 From: ryanss Date: Tue, 10 Feb 2015 15:15:27 -0500 Subject: Syntax regex improvement --- syntax/hackernews.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax') diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim index 68e0862..600e3ae 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -37,7 +37,7 @@ syn match Comment /^.*ago\s|.*comments/ syn match Comment /^[0-9an]\+\s.\+\sago$/ " Comment titles -syn match Comment /^\s*Comment.*$/ +syn match Comment /^\s*Comment\sby.\+ago:$/ " Highlight links syn region Constant start="\[http" end="\]" -- cgit v1.2.3