Added custom mode-html
This commit is contained in:
parent
8142900e9f
commit
2fe3cb4128
1
init.el
1
init.el
@ -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
13
lisp/init-html.el
Normal 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)
|
Loading…
x
Reference in New Issue
Block a user