Added custom mode-html

This commit is contained in:
Jesús 2018-10-17 22:14:53 -05:00
parent 8142900e9f
commit 2fe3cb4128
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 14 additions and 0 deletions

View File

@ -48,6 +48,7 @@
;; Languages
(require 'init-ccc)
(require 'init-crystal)
(require 'init-html)
(require 'init-markdown)
(require 'init-python)
(require 'init-pkgbuild)

13
lisp/init-html.el Normal file
View File

@ -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)