Merge pull request #170 from return42/emacs

[emacs] .dir-locals.el: add setup for json-mode
This commit is contained in:
Markus Heiser 2021-06-22 15:48:18 +00:00 committed by GitHub
commit 5081cd4ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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