Feat: add counsel-jq

Co-authored-by: rushsteve1 <rushsteve1@rushsteve1.us>
This commit is contained in:
Edmund Miller 2020-05-28 10:10:44 -05:00
parent 1529dcaaf5
commit 2c158c8b81
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
3 changed files with 15 additions and 1 deletions

View file

@ -11,4 +11,13 @@
(map! :after json-mode
:map json-mode-map
:localleader
"s" #'jsons-print-path))
"p" #'jsons-print-path))
(use-package! counsel-jq
:defer t
:init
(map! :after json-mode
:map json-mode-map
:localleader
"s" #'counsel-jq))

View file

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

View file

@ -3,3 +3,4 @@
(package! json-mode :pin "0e819e519a")
(package! json-snatcher :pin "c4cecc0a50")
(package! counsel-jq :pin "b14dfc5c18")