|
@@ -31,7 +31,7 @@ function M.config()
|
|
selection_strategy = "reset",
|
|
selection_strategy = "reset",
|
|
sorting_strategy = nil,
|
|
sorting_strategy = nil,
|
|
layout_strategy = nil,
|
|
layout_strategy = nil,
|
|
- layout_config = nil,
|
|
|
|
|
|
+ layout_config = {},
|
|
vimgrep_arguments = {
|
|
vimgrep_arguments = {
|
|
"rg",
|
|
"rg",
|
|
"--color=never",
|
|
"--color=never",
|
|
@@ -127,7 +127,7 @@ function M.setup()
|
|
|
|
|
|
local telescope = require "telescope"
|
|
local telescope = require "telescope"
|
|
|
|
|
|
- local theme = require("telescope.themes")["get_" .. lvim.builtin.telescope.theme]
|
|
|
|
|
|
+ local theme = require("telescope.themes")["get_" .. (lvim.builtin.telescope.theme or "")]
|
|
if theme then
|
|
if theme then
|
|
lvim.builtin.telescope.defaults = theme(lvim.builtin.telescope.defaults)
|
|
lvim.builtin.telescope.defaults = theme(lvim.builtin.telescope.defaults)
|
|
end
|
|
end
|