From e2cc7e574015186e550847a47fd21fe255ec7fd3 Mon Sep 17 00:00:00 2001 From: ryanss Date: Thu, 15 Jan 2015 23:59:00 -0500 Subject: Add ability to handle links spanning multiple lines --- 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 558fcd9..17345a9 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -7,7 +7,7 @@ endif syn match Comment /^\s*Comment.*$/ -syn match Constant /\[http.*\]/ +syn region Constant start="\[http" end="\]" let b:current_syntax = "hackernews" -- cgit v1.2.3