aboutsummaryrefslogtreecommitdiff
path: root/.doom.d/custom.el
diff options
context:
space:
mode:
Diffstat (limited to '.doom.d/custom.el')
-rw-r--r--.doom.d/custom.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.doom.d/custom.el b/.doom.d/custom.el
index d94f507..86d1415 100644
--- a/.doom.d/custom.el
+++ b/.doom.d/custom.el
@@ -10,3 +10,9 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
+
+(defun my-web-mode-hook ()
+ "Hooks for Web mode."
+ (setq web-mode-markup-indent-offset 2)
+)
+(add-hook 'web-mode-hook 'my-web-mode-hook)