diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-09 21:25:20 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-09 21:25:20 +1200 |
commit | 5944a9dc34532ee8e98a98c74b2f18f4a47c676d (patch) | |
tree | c147be04605c1b28773dbfaf4103176aae2ddd71 | |
parent | Format a list of fonts (diff) | |
download | dotfiles-5944a9dc34532ee8e98a98c74b2f18f4a47c676d.tar.gz dotfiles-5944a9dc34532ee8e98a98c74b2f18f4a47c676d.zip |
Add load guard to fortune.vim plugin
-rw-r--r-- | vim/plugin/fortune.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/plugin/fortune.vim b/vim/plugin/fortune.vim index efc03467..be4abdff 100644 --- a/vim/plugin/fortune.vim +++ b/vim/plugin/fortune.vim @@ -1,3 +1,7 @@ +if exists('loaded_fortune') || &compatible + finish +endif +let loaded_fortune = 1 command! -bar Fortune \ call fortune#() nnoremap <silent> <Plug>(Fortune) |