git: uses opts for telescope.nvim

This commit is contained in:
Tigor Hutasuhut 2024-11-19 12:09:55 +07:00
parent 35db9f7ced
commit 83393a2abe

View file

@ -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 = {},
},
},
},
}