theonepath.nvim/after/plugin/telescope.lua
theonepath 853e6b7ee5
Added files
Added after/ and lua/ scripts
2023-04-20 14:42:48 +01:00

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"