diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 1571098..ddf1d28 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -120,7 +120,7 @@ return require('packer').startup(function(use) 'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/plenary.nvim'}}, config = function() require "plugins.telescope" end, - cmd = 'Telescope' + event = "UIEnter" } use {'preservim/tagbar', cmd = 'TagbarToggle'} use { @@ -186,7 +186,10 @@ return require('packer').startup(function(use) use { "mickael-menu/zk-nvim", filetypes = {'markdown'}, - config = function() require "plugins.zk" end + config = function() + require "plugins.telescope" + require "plugins.zk" + end } -- fixes and misc. stuff diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 987a35e..07f55ed 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -1,27 +1,6 @@ require('telescope').setup { - defaults = { - -- Default configuration for telescope goes here: - -- config_key = value, - -- .. - layout_strategy = 'vertical', - layout_config = {height = 0.95} - - }, - pickers = { - -- Default configuration for builtin pickers goes here: - -- picker_name = { - -- picker_config_key = value, - -- ... - -- } - -- Now the picker_config_key will be applied every time you call this - -- builtin picker - }, - extensions = { - -- Your extension configuration goes here: - -- extension_name = { - -- extension_config_key = value, - -- } - -- please take a look at the readme of the extension you want to configure - } + defaults = {layout_strategy = 'vertical', layout_config = {height = 0.95}}, + pickers = {}, + extensions = {} }