Skip to content

Commit

Permalink
Use number equal. (#2164)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 authored Sep 11, 2020
1 parent 034094d commit c2b480d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lsp-modeline.el
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ The `:global' workspace is global one.")
(format "%s" (aref stats i))
'face
(cond
((equal i lsp/diagnostic-severity-error) 'error)
((equal i lsp/diagnostic-severity-warning) 'warning)
((equal i lsp/diagnostic-severity-information) 'success)
((equal i lsp/diagnostic-severity-hint) 'success)))))))
((= i lsp/diagnostic-severity-error) 'error)
((= i lsp/diagnostic-severity-warning) 'warning)
((= i lsp/diagnostic-severity-information) 'success)
((= i lsp/diagnostic-severity-hint) 'success)))))))
(cl-incf i))
(-> (s-join "/" strs)
(propertize 'mouse-face 'mode-line-highlight
Expand Down

0 comments on commit c2b480d

Please sign in to comment.