dotfiles/config/nvim/lua/fschauen/plugins/telescope-file-browser.lua
Fernando Schauenburg 37aec2fac7 nvim: remove extension configuration from Telescope setup
This makes the Telescope plugin configuration more independent from
extensions. The next step would be to move the `fzf-native` extension to
its own file.
2024-07-21 01:25:46 +02:00

16 lines
424 B
Lua

local helper = require("fschauen.plugins.telescope").keymap_helper
local lhs, desc = helper.lhs, helper.description
return {
"nvim-telescope/telescope-file-browser.nvim",
dependencies = "nvim-telescope/telescope.nvim",
keys = {
{ lhs("B"), "<cmd>Telescope file_browser theme=ivy<cr>", desc = desc("file [B]rowser") },
},
config = function()
require("telescope").load_extension("file_browser")
end,
}