From 27b27d4f5f575cc44a77b20a4b6e90a5936c1ec4 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 20 May 2019 14:57:23 -0400 Subject: [PATCH] use 2 spaces in javascript and json modes --- etc/conf.org | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/etc/conf.org b/etc/conf.org index 8a86d54..351a7e7 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -950,17 +950,23 @@ Overlays hex color codes with matching colors in certain modes like css and html (use-package rainbow-mode :straight t) #+END_SRC -*** JSON +*** Javascript +**** tabs +An exception to the rule +#+BEGIN_SRC emacs-lisp +(setq js-indent-level 2) +#+END_SRC +**** inferior mode +#+BEGIN_SRC emacs-lisp +(use-package js-comint + :straight t) +#+END_SRC +**** JSON #+BEGIN_SRC emacs-lisp (use-package json-mode :straight t :hook (json-mode . origami-mode)) #+END_SRC -*** Javascript -#+BEGIN_SRC emacs-lisp -(use-package js-comint - :straight t) -#+END_SRC *** markdown Make font sizes smaller and less intrusive for headers #+BEGIN_SRC emacs-lisp