Merge pull request #5162 from iyefrat/json

lang/json/doctor: only check for jq if ivy is on
This commit is contained in:
Henrik Lissner
2021-07-08 18:01:43 -04:00
committed by GitHub

View File

@ -1,4 +1,5 @@
;;; lang/json/doctor.el -*- lexical-binding: t; -*-
(unless (executable-find "jq")
(warn! "Couldn't find jq. counsel-jq won't work."))
(when (and (featurep! :completion ivy)
(not (executable-find "jq")))
(warn! "Couldn't find jq. counsel-jq won't work." ))