summaryrefslogtreecommitdiff
path: root/syntax/hackernews.vim
blob: ff30f301da75b08fa9a7731d1982819058d2a00f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
" Vim syntax file


if exists("b:current_syntax")
  finish
endif


syn match Ignore /\s\[[0-9]\{3,}\]$/
syn match Comment /^\s*Comment.*$/
syn region Constant start="\[http" end="\]"
syn region Statement start="^\s+ " end="^\s "


let b:current_syntax = "hackernews"