flycheck: use pos-tip in GUI Emacs (linux), popup-tip everywhere else

Long story short, `flycheck-popup-tip' works everywhere but only looks
*ok*.  `flycheck-pos-tip' looks great, but only in GUI Emacs on Linux.
So we want:

+ GUI Emacs (Linux): pos-tip
+ GUI Emacs (MacOS): popup-tip
+ tty Emacs (anywhere): popup-tip
This commit is contained in:
Henrik Lissner 2018-01-06 01:10:33 -05:00
parent 9e3682535a
commit 065091bdca
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 27 additions and 21 deletions

View file

@ -2,6 +2,5 @@
;;; feature/syntax-checker/packages.el
(package! flycheck)
(if IS-MAC
(package! flycheck-popup-tip)
(package! flycheck-pos-tip))
(package! flycheck-pos-tip)
(package! flycheck-popup-tip)