mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(sh): don't set mode-name in sh-mode derivatives
Also capitalizes the name, as this is the convention for mode names in most major modes. Fix: #8178
This commit is contained in:
@ -43,7 +43,7 @@
|
||||
(setq sh-indent-after-continuation 'always)
|
||||
|
||||
;; [pedantry intensifies]
|
||||
(setq-hook! 'sh-mode-hook mode-name "sh")
|
||||
(setq-hook! 'sh-mode-local-vars-hook mode-name "Sh")
|
||||
|
||||
;; recognize function names with dashes in them
|
||||
(add-to-list 'sh-imenu-generic-expression
|
||||
|
Reference in New Issue
Block a user