all repos — nixfiles @ e52aef3c88ff8487605ab8773959a493a5734616

System and user configuration, managed by nix and home-manager

Emacs: Load skewer in web-mode
Alan Pearce alan.pearce@spotcap.com
Mon, 09 Nov 2015 09:16:22 +0100
commit

e52aef3c88ff8487605ab8773959a493a5734616

parent

8dd85354ccc40bfbb43bf0051074e17ec3d58f94

1 files changed, 7 insertions(+), 6 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1930,12 +1930,13 @@ I don’t use this as often as I probably should.  I should figure out
 why that is.
 #+BEGIN_SRC emacs-lisp
-(req-package skewer-mode
-  :defer t
-  :init (progn
-          (add-hook 'js2-mode-hook #'skewer-mode)
-          (add-hook 'html-mode-hook #'skewer-html-mode)
-          (add-hook 'css-mode-hook #'skewer-css-mode)))
+  (req-package skewer-mode
+    :defer t
+    :init (progn
+            (add-hook 'js2-mode-hook #'skewer-mode)
+            (add-hook 'html-mode-hook #'skewer-html-mode)
+            (add-hook 'web-mode-hook #'skewer-html-mode)
+            (add-hook 'css-mode-hook #'skewer-css-mode)))
 #+END_SRC
 
 *** js2-mode