diff options
author | Case Duckworth | 2021-03-31 17:59:28 -0500 |
---|---|---|
committer | Case Duckworth | 2021-03-31 17:59:28 -0500 |
commit | 1bd224af5ead75aac5d0a04411ca6f3b330af339 (patch) | |
tree | ec915587ae9b817e92d3594fdbc8144573719651 | |
parent | Add keybindings (diff) | |
download | emacs-1bd224af5ead75aac5d0a04411ca6f3b330af339.tar.gz emacs-1bd224af5ead75aac5d0a04411ca6f3b330af339.zip |
Fix -mode setups
-rw-r--r-- | init.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/init.el b/init.el index 0a09285..cdb30ab 100644 --- a/init.el +++ b/init.el | |||
@@ -628,13 +628,16 @@ call `zzz-to-char'." | |||
628 | (apheleia-global-mode +1)) | 628 | (apheleia-global-mode +1)) |
629 | 629 | ||
630 | ;;;; Emacs lisp | 630 | ;;;; Emacs lisp |
631 | (setup emacs-lisp | 631 | (setup emacs-lisp-mode |
632 | (:option eval-expression-print-length nil | 632 | (:option eval-expression-print-length nil |
633 | eval-expression-print-level nil | 633 | eval-expression-print-level nil |
634 | lisp-indent-function #'lisp-indent-function)) | 634 | lisp-indent-function #'lisp-indent-function)) |
635 | 635 | ||
636 | (setup (:straight macrostep) | ||
637 | (define-key emacs-lisp-mode-map (kbd "C-c e") #'macrostep-expand)) | ||
638 | |||
636 | ;;;; Shell scripts | 639 | ;;;; Shell scripts |
637 | (setup sh | 640 | (setup sh-mode |
638 | (:option sh-basic-offset tab-width | 641 | (:option sh-basic-offset tab-width |
639 | sh-indent-after-case 0 | 642 | sh-indent-after-case 0 |
640 | sh-indent-for-case-alt '+ | 643 | sh-indent-for-case-alt '+ |