diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-22 17:46:46 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-22 17:46:46 +0200 |
commit | 5a8fed48c9f79afa42f27d55fc5e58654d4a0819 (patch) | |
tree | b768624c9a16cde42d513e0973c5762b984b4028 /.dir-locals.el | |
parent | 2530576f244aef669d4261144a8dd4b47fd8c6b5 (diff) | |
download | searxng-5a8fed48c9f79afa42f27d55fc5e58654d4a0819.tar.gz searxng-5a8fed48c9f79afa42f27d55fc5e58654d4a0819.zip |
[emacs] .dir-locals.el: add setup for json-mode
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index d0e62208e..fb5afe7b9 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -83,6 +83,11 @@ (flycheck-checker . yaml-yamllint))))) + (json-mode + . ((eval . (progn + (setq-local js-indent-level 2) + (flycheck-checker . json-python-json))))) + (python-mode . ((eval . (progn |