Add indent-level for JSON

This commit is contained in:
Wojciech Kozlowski 2019-12-15 22:00:13 +01:00
parent 767b539315
commit b400cbcffb

View File

@ -56,9 +56,8 @@
:hook ((c-mode c++-mode objc-mode) .
(lambda () (require 'ccls) (lsp))))
(setq-default
c-default-style "linux"
c-basic-offset 4)
(setq-default c-default-style "linux"
c-basic-offset 4)
;; --------------------------------------------------------------------------
;; Dockerfile.
@ -67,6 +66,12 @@
(use-package dockerfile-mode
:defer t)
;; --------------------------------------------------------------------------
;; JSON.
;; --------------------------------------------------------------------------
(setq-default js-indent-level 2)
;; --------------------------------------------------------------------------
;; kOS.
;; --------------------------------------------------------------------------