File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 306306 " Return flycheck information for the given error type STATE."
307307 (let* ((counts (flycheck-count-errors flycheck-current-errors))
308308 (errorp (flycheck-has-current-errors-p state))
309- (err (or (cdr (assq state counts)) " ? " ))
309+ (err (or (cdr (assq state counts)) " 0 " ))
310310 (running (eq 'running flycheck-last-status-change)))
311- (if ( or errorp running) ( format " •%s " err))))
311+ (format " •%s " ( if running " ? " err))))
312312
313313(defun jcs-modeline--render-flycheck ()
314314 " Render for flycheck."
315- (when (and (bound-and-true-p flycheck-mode)
316- (or flycheck-current-errors
317- (eq 'running flycheck-last-status-change)))
315+ (when (bound-and-true-p flycheck-mode)
318316 (concat
319317 (cl-loop for state in '((error . " #FB4933" )
320318 (warning . " #FABD2F" )
You can’t perform that action at this time.
0 commit comments