From d7fe09617810e361b2ef48a40698529a69388c71 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 17 Jun 2019 00:48:35 +1200 Subject: Add load guards to Vim plugins not spun out yet --- vim/plugin/paste_insert.vim | 2 +- vim/plugin/put_date.vim | 2 +- 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 -- cgit v1.2.3