summaryrefslogtreecommitdiff
path: root/plugin/hackernews.vim
diff options
context:
space:
mode:
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