mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Add additional customizations to magit modes.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
;; Load Mode Customizations
|
||||
;;
|
||||
|
||||
;; Programming languages
|
||||
(load-file (config-path "mode-customizations/coffee-mode.el"))
|
||||
(load-file (config-path "mode-customizations/css-mode.el"))
|
||||
(load-file (config-path "mode-customizations/emacs-lisp-mode.el"))
|
||||
@@ -9,9 +10,11 @@
|
||||
(load-file (config-path "mode-customizations/feature-mode.el"))
|
||||
(load-file (config-path "mode-customizations/js-mode.el"))
|
||||
(load-file (config-path "mode-customizations/markdown-mode.el"))
|
||||
(load-file (config-path "mode-customizations/magit-log-edit-mode.el"))
|
||||
(load-file (config-path "mode-customizations/php-mode.el"))
|
||||
(load-file (config-path "mode-customizations/python-mode.el"))
|
||||
(load-file (config-path "mode-customizations/ruby-mode.el"))
|
||||
(load-file (config-path "mode-customizations/sh-mode.el"))
|
||||
(load-file (config-path "mode-customizations/yaml-mode.el"))
|
||||
|
||||
;; Misc modes
|
||||
(load-file (config-path "mode-customizations/magit-mode.el"))
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
;; Make Magit it look a bit prettier with my theme
|
||||
(add-hook 'magit-mode-hook
|
||||
(lambda ()
|
||||
(linum-mode t)))
|
||||
|
||||
;; Write commit messages in style
|
||||
(add-hook 'magit-log-edit-mode-hook
|
||||
(lambda ()
|
||||
(flyspell-mode)
|
||||
Reference in New Issue
Block a user