summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Hartigan2015-03-15 12:41:33 +0000
committerJosh Hartigan2015-03-15 12:41:33 +0000
commit3634eff4d24745ba722b415b6c28e33a333f8eea (patch)
treefa0fa6ef954d9aff9d0c295951c601277cf516df
parent8fc26f851f08a9b59464e2ac8268e520b1c12565 (diff)
downloadvim-hn-3634eff4d24745ba722b415b6c28e33a333f8eea.tar.gz
override in function definition
-rw-r--r--plugin/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim
index bd4e985..bc786b4 100644
--- a/plugin/hackernews.vim
+++ b/plugin/hackernews.vim
@@ -14,7 +14,7 @@ filetype plugin on
" Load ftplugin when opening .hackernews buffer
au! BufRead,BufNewFile *.hackernews set filetype=hackernews
-function HackerNews(...)
+function! HackerNews(...)
if a:0 > 0
let available_lists = ['news', 'newest', 'ask', 'show', 'shownew',
\'jobs', 'best', 'active', 'noobstories']