From a06f6e7e9f8dd77fe8fac0357b947e0696bd7f93 Mon Sep 17 00:00:00 2001 From: Ben Woodward Date: Thu, 20 Jul 2023 21:19:26 +0100 Subject: [PATCH 1/2] fix(scope): Register extension with Telescope --- lua/astrocommunity/bars-and-lines/scope-nvim/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua b/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua index 191c99665..0130f3cc3 100644 --- a/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua +++ b/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua @@ -1 +1,5 @@ -return { "tiagovla/scope.nvim", event = "VeryLazy", opts = {} } +return { + "tiagovla/scope.nvim", + event = "VeryLazy", + opts = function() require("telescope").load_extension "scope" end, +} From 7dd19d3a3863f93b931bdf5efaa417f6bd24304b Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Fri, 21 Jul 2023 07:16:46 -0400 Subject: [PATCH 2/2] Fix telescope setup --- lua/astrocommunity/bars-and-lines/scope-nvim/init.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua b/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua index 0130f3cc3..ac72915cc 100644 --- a/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua +++ b/lua/astrocommunity/bars-and-lines/scope-nvim/init.lua @@ -1,5 +1,8 @@ return { - "tiagovla/scope.nvim", - event = "VeryLazy", - opts = function() require("telescope").load_extension "scope" end, + { "tiagovla/scope.nvim", event = "VeryLazy", opts = {} }, + { + "nvim-telescope/telescope.nvim", + optional = true, + opts = function() require("telescope").load_extension "scope" end, + }, }