lang/sh: associate bin/[^/]$ files with sh-mode
This commit is contained in:
parent
c2fe951062
commit
e17e9a5c53
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
(def-package! sh-script ; built-in
|
||||
:mode ("\\.zunit\\'" . sh-mode)
|
||||
:mode ("/bspwmrc\\'" . sh-mode)
|
||||
:mode ("/bin/[^/]+\\'" . sh-mode)
|
||||
: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