From 67a4d9db6193d11527ccc9c096a1778be74d52f5 Mon Sep 17 00:00:00 2001 From: ryanss Date: Thu, 19 Feb 2015 22:25:36 -0500 Subject: Improve handling of html tags in comments Fixes errors trying to view comments for item=8955426 --- syntax/hackernews.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'syntax') diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim index 4555b9d..7525ed2 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -43,6 +43,10 @@ syn match Comment /^\s*Comment\sby.\+ago:$/ " Highlight links syn region Constant start="\[http" end="\]" +" Italics tags +syn region Italics start="" end="" +highlight Italics gui=italic + " Highlight code blocks syn region Statement start="^ " end="^ " -- cgit v1.2.3