aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-html.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-01-22 15:45:41 -0500
committerJesús <heckyel@hyperbola.info>2019-01-22 15:45:41 -0500
commitced0fe8f9ef7cd16ade900bb34393c627f6d0c69 (patch)
tree350d3a0cbb87b12a36c0dc12537c56a75a2668ae /modules/init-html.el
parentd0f44d85466d7211d54e30970f29815842ff4180 (diff)
downloademacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.lz
emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.xz
emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.zip
Change directory lisp/ to modules/
FS #2
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