                                  (or flycheck-current-errors
                                      (eq 'running flycheck-last-status-change))))
                  (vc-face (if (or flycheckp spacemacs-mode-line-minor-modesp)
-                               face1 line-face))
+                              face1 line-face))
                  (separator-left (intern (format "powerline-%s-%s"
                                                  powerline-default-separator
                                                  (car powerline-default-separator-dir))))

    :defer t
    :config (spacemacs|diminish whitespace-mode " Ⓦ" " W")))

(defun spacemacs/init-yasnippet ()
  (use-package yasnippet
    :commands yas-global-mode

        (setq-default powerline-height height))
      (setq-default powerline-default-separator 'wave)

      (setq-default
       mode-line-format
       '("%e"
         (:eval
          (let* ((active (powerline-selected-window-active))
                 (line-face (if active 'mode-line 'mode-line-inactive))
                 (face1 (if active 'powerline-active1 'powerline-inactive1))
                 (face2 (if active 'powerline-active2 'powerline-inactive2))
                 (state-face (if active (spacemacs/current-state-face) face2))
                 (window-numberingp (and (boundp 'window-numbering-mode)
                                         (symbol-value window-numbering-mode)))
                 (batteryp (and (boundp 'fancy-battery-mode)
                                (symbol-value fancy-battery-mode)))
                 (battery-face (if batteryp (fancy-battery-powerline-face)))
