summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-28 08:20:15 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-28 08:20:15 -0400
commitd1ba7028d70c018dd50ffa450962fa048da39200 (patch)
treeecdff78da0ea30cda3ad6a799b44ca7da38b84cf
parent926d8456ad069f6e26a925476a727c35ed8adceb (diff)
downloadconfigs-d1ba7028d70c018dd50ffa450962fa048da39200.tar.gz
configs-d1ba7028d70c018dd50ffa450962fa048da39200.tar.xz
configs-d1ba7028d70c018dd50ffa450962fa048da39200.zip
emacs: alloy-mode: indent using spaces rather than tabs
-rw-r--r--.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
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