summaryrefslogtreecommitdiff
path: root/syntax/hackernews.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/hackernews.vim')
-rw-r--r--syntax/hackernews.vim4
1 files changed, 4 insertions, 0 deletions
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 <i> tags
+syn region Italics start="<i>" end="</i>"
+highlight Italics gui=italic
+
" Highlight code blocks
syn region Statement start="^ " end="^ "