From ede742dca0477d08edaaa14cc178bd80bd181126 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 18 Oct 2017 00:11:15 -0400 Subject: don't load the plugin more than once --- plugin/textobj.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/textobj.vim b/plugin/textobj.vim index 01345bc..bb620fe 100644 --- a/plugin/textobj.vim +++ b/plugin/textobj.vim @@ -1,3 +1,7 @@ +if exists('g:loaded_textobj') + finish +endif +let g:loaded_textobj = 1 " Text object creation {{{ " XXX: use virtualedit here, it should greatly simplify things let s:text_object_number = 0 -- cgit v1.2.3-54-g00ecf