This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/nvim/lua/plugin/telescope.lua

34 lines
919 B
Lua

-- Author : swytch
-- Created : Monday Dec. 26, 2022 18:39:16 CET
-- License : GPLv3
-- Description : telescope config file
return {
{
"nvim-telescope/telescope.nvim",
dependencies = {
{
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope-file-browser.nvim",
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make"
}
}
},
opts = {
extensions = {
file_browser = {
theme = "ivy",
hijack_netrw = true,
}
}
},
config = function(_, opts)
require("telescope").setup(opts)
require("telescope").load_extension("fzf")
require("telescope").load_extension("file_browser")
end
}
}