From 2fe3cb41281f37dd8e009ab498fd41b66349349f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 17 Oct 2018 22:14:53 -0500 Subject: Added custom mode-html --- lisp/init-html.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lisp/init-html.el (limited to 'lisp/init-html.el') diff --git a/lisp/init-html.el b/lisp/init-html.el new file mode 100644 index 0000000..b2ad2ef --- /dev/null +++ b/lisp/init-html.el @@ -0,0 +1,13 @@ +;;;;;;;;;;;;;;;;;;;;;;;;; +;; 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) -- cgit v1.2.3