summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorDmitry <38243538+solfrii@users.noreply.github.com>2021-03-04 16:41:50 +0300
committerGitHub <noreply@github.com>2021-03-04 14:41:50 +0100
commit8dc00b08aa68ccfc259a35d31f55ff5eeedab17a (patch)
treeb045a8e5a4693d7959d308149b4ddbb0585c79db /plugin
parentdb7615578b43586ef6526c56ba397f86b13fbed9 (diff)
fix: add loading guard (#602)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/telescope.vim5
1 files changed, 5 insertions, 0 deletions
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