mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Associate sh-mode with bspwmrc and xinitrc
This commit is contained in:
@ -3,7 +3,9 @@
|
||||
(use-package sh-script
|
||||
:mode (("\\.\\(ba\\|z\\)sh$" . sh-mode)
|
||||
("/\\.?z\\(sh\\(/.*\\|$\\)\\|profile\\|log\\(in\\|out\\)\\|sh\\(rc\\|env\\)\\)$" . sh-mode)
|
||||
("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode))
|
||||
("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode)
|
||||
("/\\.?xinitrc$" . sh-mode)
|
||||
("/bspwmrc$" . sh-mode))
|
||||
:init (add-hook! sh-mode '(flycheck-mode doom|sh-extra-font-lock-activate))
|
||||
:config
|
||||
(def-company-backend! sh-mode (shell))
|
||||
|
Reference in New Issue
Block a user