We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 034094d commit c2b480dCopy full SHA for c2b480d
lsp-modeline.el
@@ -213,10 +213,10 @@ The `:global' workspace is global one.")
213
(format "%s" (aref stats i))
214
'face
215
(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)))))))
+ ((= i lsp/diagnostic-severity-error) 'error)
+ ((= i lsp/diagnostic-severity-warning) 'warning)
+ ((= i lsp/diagnostic-severity-information) 'success)
+ ((= i lsp/diagnostic-severity-hint) 'success)))))))
220
(cl-incf i))
221
(-> (s-join "/" strs)
222
(propertize 'mouse-face 'mode-line-highlight
0 commit comments