diff options
Diffstat (limited to 'vim/plugin/fortune.vim')
-rw-r--r-- | vim/plugin/fortune.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/plugin/fortune.vim b/vim/plugin/fortune.vim index 9355f1b0..b1c4955f 100644 --- a/vim/plugin/fortune.vim +++ b/vim/plugin/fortune.vim @@ -6,7 +6,11 @@ nnoremap <silent> <Plug>(Fortune) function! s:FortuneVimEnter() abort if !argc() && line2byte('$') == -1 - try | Fortune | catch | endtry + try + Fortune + catch + " Do nothing + endtry endif endfunction |