Skip to content

Commit

Permalink
fix: Set face attrs for error-warning-info messages
Browse files Browse the repository at this point in the history
This was originally written in doomemacs#7814. But the commit c8b5bf7 didn't
include them when adapting changes from the original PR. Without this
settings, the messages from error-warning-info are all of same color.
  • Loading branch information
prashantvithani committed Jul 12, 2024
1 parent 543ae32 commit c62111c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/checkers/syntax/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
:unless (modulep! +flymake)
:hook (flycheck-mode . +syntax-init-popups-h)
:config
(set-face-attribute 'flycheck-posframe-info-face nil :inherit 'font-lock-variable-name-face)
(set-face-attribute 'flycheck-posframe-warning-face nil :inherit 'warning)
(set-face-attribute 'flycheck-posframe-error-face nil :inherit 'error)
(if (modulep! +icons)
(setq flycheck-posframe-warning-prefix ""
flycheck-posframe-info-prefix ""
Expand Down

0 comments on commit c62111c

Please sign in to comment.