Skip to content

Commit c2b480d

Browse files
authored
Use number equal. (#2164)
1 parent 034094d commit c2b480d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lsp-modeline.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ The `:global' workspace is global one.")
213213
(format "%s" (aref stats i))
214214
'face
215215
(cond
216-
((equal i lsp/diagnostic-severity-error) 'error)
217-
((equal i lsp/diagnostic-severity-warning) 'warning)
218-
((equal i lsp/diagnostic-severity-information) 'success)
219-
((equal i lsp/diagnostic-severity-hint) 'success)))))))
216+
((= i lsp/diagnostic-severity-error) 'error)
217+
((= i lsp/diagnostic-severity-warning) 'warning)
218+
((= i lsp/diagnostic-severity-information) 'success)
219+
((= i lsp/diagnostic-severity-hint) 'success)))))))
220220
(cl-incf i))
221221
(-> (s-join "/" strs)
222222
(propertize 'mouse-face 'mode-line-highlight

0 commit comments

Comments
 (0)