31 lines
647 B
Lua
31 lines
647 B
Lua
local ok, telescope = pcall(require, 'telescope')
|
|
if not ok then
|
|
print("Telescope is not installed.")
|
|
return
|
|
end
|
|
|
|
telescope.setup {
|
|
-- configuration of Telescope go here
|
|
defaults = {
|
|
prompt_prefix = "🔎 ",
|
|
layout_config = {
|
|
height = 0.90,
|
|
prompt_position = "top",
|
|
preview_height = 15,
|
|
},
|
|
sorting_strategy = "ascending",
|
|
dynamic_preview_title = true,
|
|
},
|
|
pickers = { },
|
|
extensions = {
|
|
file_browser = {
|
|
grouped = true,
|
|
hijack_netrw = true,
|
|
dir_icon = "📁",
|
|
hidden = true,
|
|
}
|
|
}
|
|
}
|
|
|
|
telescope.load_extension "file_browser"
|