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