aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-html.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/init-html.el')
-rw-r--r--modules/init-html.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/init-html.el b/modules/init-html.el
new file mode 100644
index 0000000..45e1131
--- /dev/null
+++ b/modules/init-html.el
@@ -0,0 +1,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