|
@@ -2,13 +2,17 @@ local M = {}
|
|
|
|
|
|
function M.config()
|
|
|
-- Define this minimal config so that it's available if telescope is not yet available.
|
|
|
+
|
|
|
lvim.builtin.telescope = {
|
|
|
---@usage disable telescope completely [not recommeded]
|
|
|
active = true,
|
|
|
on_config_done = nil,
|
|
|
}
|
|
|
|
|
|
- local actions = require "telescope.actions"
|
|
|
+ local ok, actions = pcall(require, "telescope.actions")
|
|
|
+ if not ok then
|
|
|
+ return
|
|
|
+ end
|
|
|
lvim.builtin.telescope = vim.tbl_extend("force", lvim.builtin.telescope, {
|
|
|
defaults = {
|
|
|
prompt_prefix = " ",
|