module-sh: enable highlight-numbers-mode

This commit is contained in:
Henrik Lissner 2016-12-31 03:03:22 -05:00
parent c85bd02ecb
commit 328ea5e6ac

View file

@ -6,7 +6,7 @@
("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode) ("/\\.?bash\\(/.*\\|rc\\|_profile\\)$" . sh-mode)
("/\\.?xinitrc$" . sh-mode) ("/\\.?xinitrc$" . sh-mode)
("/bspwmrc$" . 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 highlight-numbers-mode))
:config :config
(def-company-backend! sh-mode (shell)) (def-company-backend! sh-mode (shell))
(def-electric! sh-mode :words ("else" "elif" "fi" "done" "then" "do" "esac" ";;")) (def-electric! sh-mode :words ("else" "elif" "fi" "done" "then" "do" "esac" ";;"))