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:
parent
7e3849be67
commit
8b18604b63
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue