mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Customize html-mode with linum, highlight-indentation and more...
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
(load-file (config-path "mode-customizations/emacs-lisp-mode.el"))
|
||||
(load-file (config-path "mode-customizations/erlang-mode.el"))
|
||||
(load-file (config-path "mode-customizations/feature-mode.el"))
|
||||
(load-file (config-path "mode-customizations/html-mode.el"))
|
||||
(load-file (config-path "mode-customizations/js-mode.el"))
|
||||
(load-file (config-path "mode-customizations/makefile-mode.el"))
|
||||
(load-file (config-path "mode-customizations/markdown-mode.el"))
|
||||
|
||||
13
mode-customizations/html-mode.el
Normal file
13
mode-customizations/html-mode.el
Normal file
@@ -0,0 +1,13 @@
|
||||
;; (add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
|
||||
;; (add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode))
|
||||
|
||||
(defun customizations-for-html-mode ()
|
||||
(interactive)
|
||||
(flyspell-prog-mode)
|
||||
(linum-mode t)
|
||||
(fci-mode)
|
||||
(setq tab-width 2)
|
||||
(setq highlight-indentation-offset 2)
|
||||
(highlight-indentation-mode))
|
||||
|
||||
(add-hook 'html-mode-hook 'customizations-for-html-mode)
|
||||
Reference in New Issue
Block a user