diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 03:34:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 03:34:10 +1200 |
commit | 7c3e4f500ea537cedccafd430dac4cf018d5ecf3 (patch) | |
tree | 1fdd4a3082fb38d7ba052015c155b016f42e651b /vim/autoload/fortune.vim | |
parent | Fix a couple of small comment typos (diff) | |
download | dotfiles-7c3e4f500ea537cedccafd430dac4cf018d5ecf3.tar.gz dotfiles-7c3e4f500ea537cedccafd430dac4cf018d5ecf3.zip |
Remove :Fortunate call from startup
The novelty has already worn off.
Diffstat (limited to 'vim/autoload/fortune.vim')
-rw-r--r-- | vim/autoload/fortune.vim | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/vim/autoload/fortune.vim b/vim/autoload/fortune.vim index 339b1aef..6bbe6b3b 100644 --- a/vim/autoload/fortune.vim +++ b/vim/autoload/fortune.vim @@ -8,19 +8,6 @@ let s:executables = [ \ 'timeout', \] -function! s:Highlight() abort - highlight Fortune - \ term=NONE - \ cterm=NONE ctermfg=244 ctermbg=NONE - \ gui=NONE guifg=#585858 guibg=NONE -endfunction -augroup fortune - autocmd! - autocmd ColorScheme * - \ call s:Highlight() -augroup END -doautocmd fortune ColorScheme - function! fortune#() abort for executable in s:executables @@ -54,8 +41,6 @@ function! fortune#() abort \ 'g', \) - echohl Fortune - echo fortune - echohl None + echomsg fortune endfunction |