blob: 40f46e5b048e5a447f2d63e69bcd0f9929e1a8fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
(require 'config-package)
(use-package json-mode
:mode "\\.json\\'"
:config
(setq json-reformat:indent-width 2)
:bind ("C-z" . hydra-json/body))
(defhydra hydra-json (:hint nil :exit t)
"
^Command^
_f_: format
"
("f" json-reformat-region)
("q" nil "quit" :color blue))
(provide 'module-json)
|