Add doom-ui-mode-names for renaming major-modes
This commit is contained in:
parent
5638f509a2
commit
e8d454a251
4 changed files with 16 additions and 5 deletions
|
@ -10,9 +10,7 @@
|
|||
(set! :repl 'sh-mode #'+sh/repl)
|
||||
(setq sh-indent-after-continuation 'always)
|
||||
|
||||
;; [pedantry intensifies]
|
||||
(add-hook! sh-mode (setq mode-name "sh"))
|
||||
|
||||
;; sh-mode has file extensions checks for other shells, but not zsh, so...
|
||||
(defun +sh|detect-zsh ()
|
||||
(when (and buffer-file-name (string-match-p "\\.zsh\\'" buffer-file-name))
|
||||
(sh-set-shell "zsh")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue