aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-17 00:48:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-17 00:48:35 +1200
commitd7fe09617810e361b2ef48a40698529a69388c71 (patch)
tree50ac289f6a4e51e3e77f8d379baeab3f7dc8abfc
parentAdjust comma position in broken lines (diff)
downloaddotfiles-d7fe09617810e361b2ef48a40698529a69388c71.tar.gz
dotfiles-d7fe09617810e361b2ef48a40698529a69388c71.zip
Add load guards to Vim plugins not spun out yet
-rw-r--r--vim/plugin/paste_insert.vim2
-rw-r--r--vim/plugin/put_date.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/vim/plugin/paste_insert.vim b/vim/plugin/paste_insert.vim
index 9cd5415e..2c17f802 100644
--- a/vim/plugin/paste_insert.vim
+++ b/vim/plugin/paste_insert.vim
@@ -1,4 +1,4 @@
-if exists('loaded_paste_insert')
+if exists('loaded_paste_insert') || &compatible
finish
endif
let loaded_paste_insert = 1
diff --git a/vim/plugin/put_date.vim b/vim/plugin/put_date.vim
index 7608f978..e78f5fcd 100644
--- a/vim/plugin/put_date.vim
+++ b/vim/plugin/put_date.vim
@@ -1,4 +1,4 @@
-if exists('loaded_put_date')
+if exists('loaded_put_date') || &compatible || !has('*strftime')
finish
endif
let loaded_put_date = 1