From: Amin Bandali Date: Sat, 28 Sep 2019 12:20:15 +0000 (-0400) Subject: emacs: alloy-mode: indent using spaces rather than tabs X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d1ba7028d70c018dd50ffa450962fa048da39200 emacs: alloy-mode: indent using spaces rather than tabs --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0577716..f58d46d 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1334,7 +1334,8 @@ This function is intended for use with `ivy-ignore-buffers'." (use-package alloy-mode :straight (:host github :repo "dwwmmn/alloy-mode") :mode "\\.als\\'" - :config (setq alloy-basic-offset 2)) + :config (setq alloy-basic-offset 2) + :hook (alloy-mode . (lambda () (setq-local indent-tabs-mode nil)))) (eval-when-compile (defvar lean-mode-map)) (use-package lean-mode