2018-06-19 06:25:33 +00:00
|
|
|
;;; config.el --- json layer configuration file for Spacemacs
|
|
|
|
;;
|
2021-03-22 20:11:29 +00:00
|
|
|
;; Copyright (c) 2012-2021 Sylvain Benner & Contributors
|
2018-06-19 06:25:33 +00:00
|
|
|
;;
|
|
|
|
;; Author: Seong Yong-ju <sei40kr@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
;; Variables
|
|
|
|
|
|
|
|
(defvar json-fmt-tool 'web-beautify
|
|
|
|
"The formatter to format a JSON file. Possible values are `web-beautify' and `prettier'.")
|
2019-09-05 03:44:13 +00:00
|
|
|
|
|
|
|
(defvar json-fmt-on-save nil
|
|
|
|
"Run formatter on buffer save.")
|
2020-06-23 20:19:51 +00:00
|
|
|
|
|
|
|
(defvar json-backend nil
|
|
|
|
"The backend to use for IDE features.
|
|
|
|
Possible values are `lsp' and `company-json'.
|
|
|
|
If `nil' then 'company-json` is the default backend unless `lsp' layer is used")
|