Skip to content

Commit

Permalink
feat: Rename success face to info face
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Feb 1, 2025
1 parent d376ef3 commit 8602950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sideline-flycheck.el
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
"Indicate warning operation."
:group 'sideline-flycheck)

(defface sideline-flycheck-success
(defface sideline-flycheck-info
`((t :inherit success))
"Indicate successful operation."
"Indicate info operation."
:group 'sideline-flycheck)

;;;###autoload
Expand Down Expand Up @@ -123,7 +123,7 @@ Argument COMMAND is required in sideline backend."
(face (cond
((string-match-p "warning" level) 'sideline-flycheck-warning)
((string-match-p "error" level) 'sideline-flycheck-error)
(t 'sideline-flycheck-success)))
(t 'sideline-flycheck-info)))
(msg (flycheck-error-message err))
(lines (split-string msg "\n"))
(lines (butlast lines (- (length lines) sideline-flycheck-max-lines)))
Expand Down

0 comments on commit 8602950

Please sign in to comment.