From 2e6031b927845578a01943d66a0a9ba8a6586a9d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 7 Dec 2024 20:53:17 +0800 Subject: [PATCH] fix(telescope): remove on_cmd option --- autoload/SpaceVim/layers/telescope.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/SpaceVim/layers/telescope.vim b/autoload/SpaceVim/layers/telescope.vim index d0142b6b4..664d8061e 100644 --- a/autoload/SpaceVim/layers/telescope.vim +++ b/autoload/SpaceVim/layers/telescope.vim @@ -50,11 +50,11 @@ endfunction function! SpaceVim#layers#telescope#plugins() abort let plugins = [] if has('nvim-0.10.0') - call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope.nvim-0.1.8', {'merged' : 0, 'loadconf' : 1, 'on_cmd' : ['Telescope']}]) + call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope.nvim-0.1.8', {'merged' : 0, 'loadconf' : 1}]) elseif has('nvim-0.7.2') - call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope.nvim-0.1.5', {'merged' : 0, 'loadconf' : 1, 'on_cmd' : ['Telescope']}]) + call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope.nvim-0.1.5', {'merged' : 0, 'loadconf' : 1}]) elseif has('nvim-0.7.0') - call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope.nvim-0.1.2', {'merged' : 0, 'loadconf' : 1, 'on_cmd' : ['Telescope']}]) + call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope.nvim-0.1.2', {'merged' : 0, 'loadconf' : 1}]) endif call add(plugins, [g:_spacevim_root_dir . 'bundle/plenary.nvim', {'merged' : 0}]) call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope-menu', {'merged' : 0}])