summaryrefslogtreecommitdiff
path: root/plugin/hackernews.vim
diff options
context:
space:
mode:
authorryanss2015-01-10 23:59:00 -0500
committerryanss2015-01-10 23:59:00 -0500
commitdb1844928afa9d02abd80745bf7ea718ee73712d (patch)
tree2d67d02d8ce092beebf4b612a836bd430d6f3f26 /plugin/hackernews.vim
parent236651561cb716dccaa50d444922d02777e0f766 (diff)
downloadvim-hn-db1844928afa9d02abd80745bf7ea718ee73712d.tar.gz
Add syntax highlighting of comment headers
Diffstat (limited to 'plugin/hackernews.vim')
-rw-r--r--plugin/hackernews.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim
index 90d8b81..b405253 100644
--- a/plugin/hackernews.vim
+++ b/plugin/hackernews.vim
@@ -12,3 +12,6 @@ execute "pyfile " . s:path . "/hackernews.py"
command! HackerNews python hacker_news()
map <return> :python hacker_news_item()<cr>
+
+
+au! BufRead,BufNewFile *.hackernews set filetype=hackernews