.nvim/lua/config/plugins/fuzzy_finder.lua
Erica Marigold ebcb199805
Initial config divergence from luka
Minor customizations for keybinds and adds luau-lsp support.
2025-02-05 00:39:41 +05:30

31 lines
894 B
Lua

local function telescope_builtin(name)
return function()
require("telescope.builtin")[name]()
end
end
return {
{
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
},
keys = {
{ "<leader><leader>", telescope_builtin("find_files"), desc = "Telescope find files" },
{ "<leader>fh", telescope_builtin("help_tags"), desc = "Telescope find help" },
},
cmd = "Telescope",
config = function()
require("telescope").setup({
defaults = {
winblend = 0,
},
extensions = {
fzf = {},
},
})
require("telescope").load_extension("fzf")
end,
},
}