mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #3243 from Emiller88/counsel-jq
Feat: add counsel-jq
This commit is contained in:
@ -11,4 +11,15 @@
|
|||||||
(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
|
||||||
|
:when (featurep! :completion ivy)
|
||||||
|
: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,5 @@
|
|||||||
|
|
||||||
(package! json-mode :pin "0e819e519a")
|
(package! json-mode :pin "0e819e519a")
|
||||||
(package! json-snatcher :pin "c4cecc0a50")
|
(package! json-snatcher :pin "c4cecc0a50")
|
||||||
|
(when (featurep! :completion ivy)
|
||||||
|
(package! counsel-jq :pin "b14dfc5c18"))
|
||||||
|
Reference in New Issue
Block a user