summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryanss2015-02-01 23:59:00 -0500
committerryanss2015-02-01 23:59:00 -0500
commitc392e92e1e36b0a202a8fcf417b7f8ba48e10bd6 (patch)
tree9f5c52ab66b0ba17dce2a7b3bfcd67bbf6d8c1c2
parentd961a4cd27770135428c010d959871a4ed7be4ff (diff)
downloadvim-hn-c392e92e1e36b0a202a8fcf417b7f8ba48e10bd6.tar.gz
Fix syntax highlighting of domains on main page
-rw-r--r--syntax/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim
index 70262c9..b59dac9 100644
--- a/syntax/hackernews.vim
+++ b/syntax/hackernews.vim
@@ -11,7 +11,7 @@ syn match Ignore /\s\[[0-9]\{3,}\]$/
" Remove emphesis from all components of main page item except title
syn match Comment /^\s*[0-9]\{1,2}\.\s/
-syn match Comment /\s(.*\..*)/
+syn match Comment /\s(\S\+\.\S\+)/
syn match Comment /^.*ago\s|.*comments/
" Comment titles