summaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
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 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