Feat: add counsel-jq
Co-authored-by: rushsteve1 <rushsteve1@rushsteve1.us>
This commit is contained in:
parent
1529dcaaf5
commit
2c158c8b81
3 changed files with 15 additions and 1 deletions
|
@ -11,4 +11,13 @@
|
||||||
(map! :after json-mode
|
(map! :after json-mode
|
||||||
:map json-mode-map
|
:map json-mode-map
|
||||||
:localleader
|
: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))
|
||||||
|
|
4
modules/lang/json/doctor.el
Normal file
4
modules/lang/json/doctor.el
Normal 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."))
|
|
@ -3,3 +3,4 @@
|
||||||
|
|
||||||
(package! json-mode :pin "0e819e519a")
|
(package! json-mode :pin "0e819e519a")
|
||||||
(package! json-snatcher :pin "c4cecc0a50")
|
(package! json-snatcher :pin "c4cecc0a50")
|
||||||
|
(package! counsel-jq :pin "b14dfc5c18")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue