summaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorryanss2015-01-15 23:59:00 -0500
committerryanss2015-01-15 23:59:00 -0500
commite2cc7e574015186e550847a47fd21fe255ec7fd3 (patch)
tree4285e63a3af454d8dfae786ea394c14dc7345f02 /syntax
parenteec0cfbcc481846fdcaebdd457e50303b019b514 (diff)
downloadvim-hn-e2cc7e574015186e550847a47fd21fe255ec7fd3.tar.gz
Add ability to handle links spanning multiple lines
Diffstat (limited to 'syntax')
-rw-r--r--syntax/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
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"