summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2016-06-10 18:15:50 +0200
committerAlan Pearce2016-06-10 18:15:50 +0200
commitf1b4cb4c26738b60892e44654cb1667ac006a5e7 (patch)
treec7e4cf412ec04ea5d34dff6e597e4d5f57477650 /tag-emacs/emacs.d
parent2b3922676b4fca8f1f6c42f27a18856876256f77 (diff)
downloadnixfiles-f1b4cb4c26738b60892e44654cb1667ac006a5e7.tar.lz
nixfiles-f1b4cb4c26738b60892e44654cb1667ac006a5e7.tar.zst
nixfiles-f1b4cb4c26738b60892e44654cb1667ac006a5e7.zip
Emacs: Fix incorrect nesting
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.org21
1 files changed, 11 insertions, 10 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 03a14671..87893720 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1929,16 +1929,17 @@ of them as well.
            ("/layouts/.*\\.html\\'" . web-mode)
            ("/templates/.*\\.php\\'" . web-mode)
            ("\\.ejs\\'" . web-mode))
-    :config (setq web-mode-code-indent-offset 4
-                  web-mode-css-indent-offset 4
-                  web-mode-markup-indent-offset 4
-                  web-mode-style-padding 0
-                  web-mode-script-padding 0
-                  web-mode-comment-style 2
-                  web-mode-enable-auto-pairing nil
-                  (with-eval-after-load 'smartparens
-                    (sp-with-modes sp--html-modes
-                      (sp-local-pair "<%" "%>")))))
+    :config (progn
+              (setq web-mode-code-indent-offset 4
+                    web-mode-css-indent-offset 4
+                    web-mode-markup-indent-offset 4
+                    web-mode-style-padding 0
+                    web-mode-script-padding 0
+                    web-mode-comment-style 2
+                    web-mode-enable-auto-pairing nil)
+              (with-eval-after-load 'smartparens
+                (sp-with-modes sp--html-modes
+                  (sp-local-pair "<%" "%>")))))
 #+END_SRC
 
 I derived a mode for twig, in order to use its =mode-hook=.