summaryrefslogtreecommitdiff
path: root/plugin/hackernews.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/hackernews.vim')
-rw-r--r--plugin/hackernews.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim
index cb0bff1..1958e3e 100644
--- a/plugin/hackernews.vim
+++ b/plugin/hackernews.vim
@@ -28,6 +28,8 @@ endif
function! HackerNews(...)
if a:0 > 0
let g:hackernews_arg = a:1
+ else
+ let g:hackernews_arg = ""
endif
execute "edit .hackernews"
normal! gg