From d1f417ec9a0e50aa75df21c778f8c5a2d0d6f613 Mon Sep 17 00:00:00 2001 From: ryanss Date: Tue, 10 Feb 2015 14:53:33 -0500 Subject: Fix syntax regex to match "_an_ hour ago" --- syntax/hackernews.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'syntax') diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim index d8b54ae..68e0862 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -32,9 +32,9 @@ endtry " 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\+)/ -syn match Comment /^\s\{4}[0-9]\+\s.\+\sago/ +syn match Comment /^\s\{4}[0-9an]\+\s.\+\sago/ syn match Comment /^.*ago\s|.*comments/ -syn match Comment /^[0-9]\+\s.\+\sago$/ +syn match Comment /^[0-9an]\+\s.\+\sago$/ " Comment titles syn match Comment /^\s*Comment.*$/ -- cgit v1.2.3