diff options
| author | ryanss | 2015-02-19 22:25:36 -0500 |
|---|---|---|
| committer | ryanss | 2015-02-19 22:25:36 -0500 |
| commit | 67a4d9db6193d11527ccc9c096a1778be74d52f5 (patch) | |
| tree | c289e0bab1fe66918ef2de221ec6948ca02542dc /syntax | |
| parent | 2b910b5b03517711188ae8aed0cb510cc7b8679f (diff) | |
| download | vim-hn-67a4d9db6193d11527ccc9c096a1778be74d52f5.tar.gz | |
Improve handling of html tags in comments
Fixes errors trying to view comments for item=8955426
Diffstat (limited to 'syntax')
| -rw-r--r-- | syntax/hackernews.vim | 4 |
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="^ " |
