diff options
| author | ryanss | 2015-02-10 16:06:28 -0500 |
|---|---|---|
| committer | ryanss | 2015-02-10 16:32:31 -0500 |
| commit | b9c74e0aeafda06633cc6ea6bfa902070dcf8227 (patch) | |
| tree | 8f7898700f8deceec4ce3092eca3015511279b5d /syntax/hackernews.vim | |
| parent | 8774e769bb44fdddfc1f50eb4df194b84c4ba59c (diff) | |
| download | vim-hn-b9c74e0aeafda06633cc6ea6bfa902070dcf8227.tar.gz | |
Syntax regex fix
`([http://example.net])` was being highlighted like a front page domain
`Comment` instead of a link url `Constant`.
Diffstat (limited to 'syntax/hackernews.vim')
| -rw-r--r-- | syntax/hackernews.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim index 600e3ae..133a301 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -31,7 +31,7 @@ endtry " Remove emphesis from all components of main page item except title syn match Comment /^\s*[0-9]\{1,2}\.\s/ -syn match Comment /\s(\S\+\.\S\+)/ +syn match Comment /\s([^\[]\S\+\.\S\+)/ syn match Comment /^\s\{4}[0-9an]\+\s.\+\sago/ syn match Comment /^.*ago\s|.*comments/ syn match Comment /^[0-9an]\+\s.\+\sago$/ |
