summaryrefslogtreecommitdiff
path: root/syntax/hackernews.vim
diff options
context:
space:
mode:
authorryanss2015-03-01 22:22:28 -0500
committerryanss2015-03-01 22:22:28 -0500
commit01c80666fcb799b1889537ea172114be3b08fc57 (patch)
treea889db6050efe1f7eee394d9ef48f0af85ffcb28 /syntax/hackernews.vim
parent8d1b3be4be06c4304bc19c93d99828faa2f3eaff (diff)
downloadvim-hn-01c80666fcb799b1889537ea172114be3b08fc57.tar.gz
Replace <i>italic</i> tags with _italic_ underscores
Diffstat (limited to 'syntax/hackernews.vim')
-rw-r--r--syntax/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim
index 818421c..7e9d7ca 100644
--- a/syntax/hackernews.vim
+++ b/syntax/hackernews.vim
@@ -44,7 +44,7 @@ syn match Comment /^\s*Comment\sby.\+ago:$/ contains=Question
syn region Constant start="\[http" end="\]"
" Italics <i> tags
-syn region Italics start="<i>" end="</i>"
+syn match Italics /\v<_\_.{-}_>/
highlight Italics gui=italic
" Highlight code blocks