diff options
author | Jesús <heckyel@hyperbola.info> | 2018-10-17 22:14:53 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-10-17 22:14:53 -0500 |
commit | 2fe3cb41281f37dd8e009ab498fd41b66349349f (patch) | |
tree | 35130709b8628b8e92332f2d520207e47a0d96eb /lisp/init-html.el | |
parent | 8142900e9fdf66d4f013c0d29559cd8f777d8fe3 (diff) | |
download | emacs-personal-2fe3cb41281f37dd8e009ab498fd41b66349349f.tar.lz emacs-personal-2fe3cb41281f37dd8e009ab498fd41b66349349f.tar.xz emacs-personal-2fe3cb41281f37dd8e009ab498fd41b66349349f.zip |
Added custom mode-html
Diffstat (limited to 'lisp/init-html.el')
-rw-r--r-- | lisp/init-html.el | 13 |
1 files changed, 13 insertions, 0 deletions
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) |