git: uses opts for telescope.nvim
This commit is contained in:
parent
35db9f7ced
commit
83393a2abe
|
@ -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 = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue