Change the error prefix to a non-unicode character

This commit is contained in:
t-e-r-m 2020-08-26 21:49:22 +05:30
parent 8873193234
commit c7bbdd65f3

View file

@ -46,7 +46,7 @@
:commands flycheck-popup-tip-show-popup flycheck-popup-tip-delete-popup :commands flycheck-popup-tip-show-popup flycheck-popup-tip-delete-popup
:hook (flycheck-mode . +syntax-init-popups-h) :hook (flycheck-mode . +syntax-init-popups-h)
:config :config
(setq flycheck-popup-tip-error-prefix " ") (setq flycheck-popup-tip-error-prefix "X ")
(after! evil (after! evil
;; Don't display popups while in insert or replace mode, as it can affect ;; Don't display popups while in insert or replace mode, as it can affect
;; the cursor's position or cause disruptive input delays. ;; the cursor's position or cause disruptive input delays.
@ -65,7 +65,7 @@
:config :config
(setq flycheck-posframe-warning-prefix "! " (setq flycheck-posframe-warning-prefix "! "
flycheck-posframe-info-prefix "··· " flycheck-posframe-info-prefix "··· "
flycheck-posframe-error-prefix " ") flycheck-posframe-error-prefix "X ")
(after! company (after! company
;; Don't display popups if company is open ;; Don't display popups if company is open
(add-hook 'flycheck-posframe-inhibit-functions #'company--active-p)) (add-hook 'flycheck-posframe-inhibit-functions #'company--active-p))