This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/json/config.el

24 lines
682 B
EmacsLisp
Raw Normal View History

;;; config.el --- json layer configuration file for Spacemacs
;;
2020-06-23 20:19:51 +00:00
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; 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")