summaryrefslogtreecommitdiff
path: root/lua/lv-telescope/init.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-06 22:20:56 -0400
committerchristianchiarulli <[email protected]>2021-07-06 22:20:56 -0400
commitec9130044266c0d0a2f48b72ba33ccbc8c55d313 (patch)
tree63ab1a7373a843a10025fbfae88d55d16e8eab4c /lua/lv-telescope/init.lua
parentf22e1bd8cb6a38fdcad83b96d7739af778cd9d1d (diff)
parent57f53732491746aedb39f529d6cfab39183f176f (diff)
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into stable
Diffstat (limited to 'lua/lv-telescope/init.lua')
-rw-r--r--lua/lv-telescope/init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/lua/lv-telescope/init.lua b/lua/lv-telescope/init.lua
index 6bbce291..8175a7ed 100644
--- a/lua/lv-telescope/init.lua
+++ b/lua/lv-telescope/init.lua
@@ -1,3 +1,7 @@
+local status_ok, telescope = pcall(require, "telescope")
+if not status_ok then
+ return
+end
local actions = require "telescope.actions"
-- if O.plugin.trouble.active then
-- local trouble = require("trouble.providers.telescope")
@@ -5,7 +9,7 @@ local actions = require "telescope.actions"
-- Global remapping
------------------------------
-- '--color=never',
-require("telescope").setup {
+telescope.setup {
defaults = {
find_command = {
"rg",