summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/foldtext.vim4
1 files changed, 4 insertions, 0 deletions
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 {{{