diff --git a/lua/plugins/git.lua b/lua/plugins/git.lua index a09863c..d4bd3cc 100644 --- a/lua/plugins/git.lua +++ b/lua/plugins/git.lua @@ -19,17 +19,7 @@ return { mode = { "v" }, }, }, - config = function() - -- optional: setup telescope before loading the extension - require("telescope").setup { - -- move this to the place where you call the telescope setup function - extensions = { - advanced_git_search = { - -- See Config - }, - }, - } - + init = function() require("telescope").load_extension "advanced_git_search" end, dependencies = { @@ -43,4 +33,12 @@ return { "sindrets/diffview.nvim", }, }, + { + "telescope.nvim", + opts = { + extensions = { + advanced_git_search = {}, + }, + }, + }, }