We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5134d commit 1cae438Copy full SHA for 1cae438
core/me-builtin.el
@@ -885,10 +885,9 @@ Typing these will trigger reindentation of the current line.")
885
886
;; Electric indent at Bash/Sh keywords, extracted from the grammar
887
(+setq-hook! (sh-mode bash-ts-mode)
888
- +electric-indent-words
889
- (delete-dups (apply #'append (mapcar (lambda (e) (list (car e) (cdr e))) (cdar sh-smie-sh-grammar)))))
+ +electric-indent-words (seq-uniq (flatten-list (alist-get :smie-closer-alist sh-smie-sh-grammar))))
890
891
- ;; From Doom Emacs
+ ;; Inspired by Doom Emacs
892
(add-hook
893
'electric-indent-functions
894
(satch-defun +electric-indent-char-fn (_c)
0 commit comments