From c80e053c1cad176f4db9cf2fbf7582125bd37372 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Thu, 21 Nov 2024 08:55:25 +0100 Subject: [PATCH] pinwheel: Indent `js` code in `emacs` with spaces --- hosts/pinwheel/modules/emacs/config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/emacs/config.org b/hosts/pinwheel/modules/emacs/config.org index cb91123..e8ae04e 100644 --- a/hosts/pinwheel/modules/emacs/config.org +++ b/hosts/pinwheel/modules/emacs/config.org @@ -604,7 +604,8 @@ Setup prefix for keybindings. #+BEGIN_SRC emacs-lisp (setq js-indent-level 2 - js2-basic-offset 2) + js2-basic-offset 2 + indent-tabs-mode nil) (add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode)) #+END_SRC