From c392e92e1e36b0a202a8fcf417b7f8ba48e10bd6 Mon Sep 17 00:00:00 2001 From: ryanss Date: Sun, 1 Feb 2015 23:59:00 -0500 Subject: Fix syntax highlighting of domains on main page --- 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 70262c9..b59dac9 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -11,7 +11,7 @@ syn match Ignore /\s\[[0-9]\{3,}\]$/ " Remove emphesis from all components of main page item except title syn match Comment /^\s*[0-9]\{1,2}\.\s/ -syn match Comment /\s(.*\..*)/ +syn match Comment /\s(\S\+\.\S\+)/ syn match Comment /^.*ago\s|.*comments/ " Comment titles -- cgit v1.2.3