summaryrefslogtreecommitdiff
path: root/syntax/hackernews.vim
diff options
context:
space:
mode:
authorryanss2015-01-10 23:59:00 -0500
committerryanss2015-01-10 23:59:00 -0500
commitdb1844928afa9d02abd80745bf7ea718ee73712d (patch)
tree2d67d02d8ce092beebf4b612a836bd430d6f3f26 /syntax/hackernews.vim
parent236651561cb716dccaa50d444922d02777e0f766 (diff)
downloadvim-hn-db1844928afa9d02abd80745bf7ea718ee73712d.tar.gz
Add syntax highlighting of comment headers
Diffstat (limited to 'syntax/hackernews.vim')
-rw-r--r--syntax/hackernews.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim
new file mode 100644
index 0000000..314c889
--- /dev/null
+++ b/syntax/hackernews.vim
@@ -0,0 +1,12 @@
+" Vim syntax file
+
+
+if exists("b:current_syntax")
+ finish
+endif
+
+
+syn match Comment /^\s*Comment.*$/
+
+
+let b:current_syntax = "hackernews"