Browse Source

Configured json mode

master
Raphael Roberts 6 years ago
parent
commit
529471675b
  1. 11
      settings.org

11
settings.org

@ -345,6 +345,17 @@ This handy function is a customized ripoff of custom-save-all
(xref-find-definitions (xref-backend-identifier-at-point (xref-find-backend)))))))
(define-key js-mode-map (kbd "M-.") #'rlbr/jump-to-definition))
#+END_SRC
** JSON
#+BEGIN_SRC emacs-lisp
(use-package json
:config
(use-package json-mode
:bind (:map json-mode-map
("C-c p p" . json-pretty-print-buffer-ordered)))
(use-package json-reformat
:config
(setq json-encoding-default-indentation (make-string json-reformat:indent-width ? ))))
#+END_SRC
** Lisp
*** Emacs lisp
#+BEGIN_SRC emacs-lisp

Loading…
Cancel
Save