From 8dc00b08aa68ccfc259a35d31f55ff5eeedab17a Mon Sep 17 00:00:00 2001 From: Dmitry <38243538+solfrii@users.noreply.github.com> Date: Thu, 4 Mar 2021 16:41:50 +0300 Subject: [PATCH] fix: add loading guard (#602) --- plugin/telescope.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/telescope.vim b/plugin/telescope.vim index 751358c..ee2f475 100644 --- a/plugin/telescope.vim +++ b/plugin/telescope.vim @@ -1,3 +1,8 @@ +if exists('g:loaded_telescope') + finish +endif +let g:loaded_telescope = 1 + " Sets the highlight for selected items within the picker. highlight default link TelescopeSelection Visual highlight default link TelescopeSelectionCaret TelescopeSelection