[emacs] .dir-locals.el: add setup for json-mode

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-06-22 17:46:46 +02:00
parent 2530576f24
commit 5a8fed48c9

View file

@ -83,6 +83,11 @@
(flycheck-checker . yaml-yamllint))))) (flycheck-checker . yaml-yamllint)))))
(json-mode
. ((eval . (progn
(setq-local js-indent-level 2)
(flycheck-checker . json-python-json)))))
(python-mode (python-mode
. ((eval . (progn . ((eval . (progn