From fcfc09c4ce65a9a3dce6285e04c326a608e4c3bf Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 18 Oct 2017 00:10:11 -0400 Subject: don't load the plugin more than once --- plugin/foldtext.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/foldtext.vim b/plugin/foldtext.vim index a8f31b7..2a9c73e 100644 --- a/plugin/foldtext.vim +++ b/plugin/foldtext.vim @@ -1,3 +1,7 @@ +if exists('g:loaded_foldtext') + finish +endif +let g:loaded_foldtext = 1 " Base {{{ function Foldtext_base(...) " use the argument for display if possible, otherwise the current line {{{ -- cgit v1.2.3