aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-html.el
blob: 45e1131dcb042729ed60de70668423d1a78d9258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;;; init-html.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;

;;; Code:

;;;;;;;;;;;;;;;;;;;;;;;;;
;; HTML Mode
;;;;;;;;;;;;;;;;;;;;;;;;;

(add-hook 'html-mode-hook
          (lambda ()
            ;; Default indentation is usually 2 spaces, changing to 4.
            (set (make-local-variable 'sgml-basic-offset) 4)))

;; highlight-indent-guides-mode
(add-hook 'html-mode-hook 'highlight-indent-guides-mode)

(provide 'init-html)

;; Local Variables:
;; byte-compile-warnings: (not free-vars)
;; End:
;;; init-html.el ends here