mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/sh: remove /bin/* fallback mode assocation
Now that doom-guess-mode-h exists (which will set the major mode when you save a file in fundamental-mode), this association isn't needed anymore (because doom-guess-mode-h will deduce the mode from the shebang line).
This commit is contained in:
@ -13,8 +13,6 @@
|
||||
(use-package! sh-script ; built-in
|
||||
:mode ("\\.zunit\\'" . sh-mode)
|
||||
:mode ("/bspwmrc\\'" . sh-mode)
|
||||
:init
|
||||
(add-to-list 'auto-mode-alist '("/bin/[^/]+\\'" . sh-mode) 'append)
|
||||
:config
|
||||
(set-electric! 'sh-mode :words '("else" "elif" "fi" "done" "then" "do" "esac" ";;"))
|
||||
(set-repl-handler! 'sh-mode #'+sh/open-repl)
|
||||
|
Reference in New Issue
Block a user