 
 (defun html/init-slim-mode ()
   (use-package slim-mode
-    :defer t))
+    :defer t
+    :init (push 'company-web-slim company-backends-slim-mode)))
 
 (defun html/post-init-smartparens ()
   (spacemacs/add-to-hooks

(defun html/init-pug-mode ()
  (use-package pug-mode
    :defer t
    :mode ("\\.pug$" . pug-mode)))

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

    yasnippet
    ))

(defun html/post-init-company ()
  (spacemacs|add-company-hook css-mode))

;;TODO: whenever company-web makes a backend for haml-mode it should be added here. -- @robbyoconnor
(defun html/init-company-web ()
  (use-package company-web
    :defer t
    :init
    (progn
      (spacemacs|add-company-hook jade-mode)
      (spacemacs|add-company-hook slim-mode)
      (spacemacs|add-company-hook web-mode))))

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