From cf9e2e6463059fa98467d5bc7b7d1006c7e6334e Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Thu, 28 May 2020 18:11:11 -0500 Subject: [PATCH] Fix: ivy-gate counsel-jq --- modules/lang/json/config.el | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/modules/lang/json/config.el b/modules/lang/json/config.el index 9c847c684..56aacfddd 100644 --- a/modules/lang/json/config.el +++ b/modules/lang/json/config.el @@ -14,10 +14,12 @@ "p" #'jsons-print-path)) -(use-package! counsel-jq - :defer t - :init - (map! :after json-mode - :map json-mode-map - :localleader - "s" #'counsel-jq)) + +(when (featurep! :completion ivy) + (use-package! counsel-jq + :defer t + :init + (map! :after json-mode + :map json-mode-map + :localleader + "s" #'counsel-jq)))