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)))