aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-16 20:46:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-16 20:46:19 +1200
commita01eba1329fc53e2ed13862f3e4c86cb9d0a0392 (patch)
treeacf18298f13a655b4d7b80ef416f9ef2e13b38e2
parent8e32154a72d26673913d7a679d8c893ea44d682b (diff)
downloaddotfiles-a01eba1329fc53e2ed13862f3e4c86cb9d0a0392.tar.gz
Enhance load guard or select_old_files.vim
-rw-r--r--vim/plugin/select_old_files.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/select_old_files.vim b/vim/plugin/select_old_files.vim
index 5d880404..c03f0c39 100644
--- a/vim/plugin/select_old_files.vim
+++ b/vim/plugin/select_old_files.vim
@@ -1,4 +1,4 @@
-if exists('loaded_select_old_files')
+if exists('loaded_select_old_files') || &compatible || !exists(':oldfiles')
finish
endif
let loaded_select_old_files = 1