feature/syntax-checker: use flycheck-popup-tip on MacOS #318

pos-tip.el (what flycheck-pos-tip's uses) is buggy on MacOS, with no
guarantee where a popup may appear.
This commit is contained in:
Henrik Lissner 2018-01-05 14:43:44 -05:00
parent a568f95004
commit f277eddf1b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 10 additions and 2 deletions

View file

@ -22,9 +22,16 @@
(def-package! flycheck-pos-tip
:unless IS-MAC
:after flycheck
:config
(setq flycheck-pos-tip-timeout 10
flycheck-display-errors-delay 0.5)
(flycheck-pos-tip-mode +1))
(def-package! flycheck-popup-tip
:when IS-MAC
:after flycheck
:hook (flycheck-mode . flycheck-popup-tip-mode))