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" }, mode = { "v" },
}, },
}, },
config = function() init = 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
},
},
}
require("telescope").load_extension "advanced_git_search" require("telescope").load_extension "advanced_git_search"
end, end,
dependencies = { dependencies = {
@ -43,4 +33,12 @@ return {
"sindrets/diffview.nvim", "sindrets/diffview.nvim",
}, },
}, },
{
"telescope.nvim",
opts = {
extensions = {
advanced_git_search = {},
},
},
},
} }