                        (cons (line-beginning-position) (line-end-position))))
               (pattern (car-safe (evil-delimited-arguments evil-ex-argument 2))))
           (if pattern
-              (format "%s matches"
+              (format " %s matches "
                       (count-matches pattern (car range) (cdr range))
                       evil-ex-argument)
             " ... "))
         :when (and (evil-ex-p) (evil-ex-hl-active-p 'evil-ex-substitute))
+        :tight t
         :face (if active 'mode-line-count-face 'mode-line-inactive)
         :skip-alternate t))
 

                      "-"))
                  length))
        :when (bound-and-true-p iedit-mode)
        :face (if active 'mode-line-count-face 'mode-line-inactive)
        :skip-alternate t)


        :when (and (bound-and-true-p flycheck-mode)
                   (or flycheck-current-errors
                       (eq 'running flycheck-last-status-change)))
        :tight t
        :skip-alternate t))

    (spaceline-define-segment *hud
