     :config
     (progn
 
-      (defun web-mode-micro-state-doc ()
-        "Full documentation for web mode micro-state."
-        "
-  [?] display this help
-  [h] previous [l] next   [L] sibling [k] parent [j] child
-  [c] clone    [d] delete [r] rename  [w] wrap   [p] xpath
-  [q] quit")
-
       (evil-leader/set-key-for-mode 'web-mode
         "meh" 'web-mode-dom-errors-show
         "mgb" 'web-mode-element-beginning

        ;; TODO element close would be nice but broken with evil.
        )

      (spacemacs|define-micro-state web-mode
        :doc "[?] for help"
        :persistent t
        :bindings
        ("?" nil :doc (web-mode-micro-state-doc))
        ("h" web-mode-element-previous)
        ("l" web-mode-element-next)
        ("L" web-mode-element-sibling-next)

        ("j" web-mode-element-child)
        ("p" web-mode-dom-xpath)
        ("r" web-mode-element-rename)
        ("q" nil :exit t)
        ("w" web-mode-element-wrap)))

    :mode
    (("\\.phtml\\'"      . web-mode)
     ("\\.tpl\\.php\\'"  . web-mode)
     ("\\.html\\'"       . web-mode)
     ("\\.htm\\'"        . web-mode)
     ("\\.[gj]sp\\'"     . web-mode)
     ("\\.as[cp]x\\'"    . web-mode)
     ("\\.erb\\'"        . web-mode)
     ("\\.mustache\\'"   . web-mode)
     ("\\.handlebars\\'" . web-mode)
     ("\\.hbs\\'"        . web-mode)
     ("\\.djhtml\\'"     . web-mode))))

(defun html/init-emmet-mode ()
  (use-package emmet-mode
