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:
parent
a568f95004
commit
f277eddf1b
2 changed files with 10 additions and 2 deletions
|
@ -22,9 +22,16 @@
|
||||||
|
|
||||||
|
|
||||||
(def-package! flycheck-pos-tip
|
(def-package! flycheck-pos-tip
|
||||||
|
:unless IS-MAC
|
||||||
:after flycheck
|
:after flycheck
|
||||||
:config
|
:config
|
||||||
(setq flycheck-pos-tip-timeout 10
|
(setq flycheck-pos-tip-timeout 10
|
||||||
flycheck-display-errors-delay 0.5)
|
flycheck-display-errors-delay 0.5)
|
||||||
(flycheck-pos-tip-mode +1))
|
(flycheck-pos-tip-mode +1))
|
||||||
|
|
||||||
|
|
||||||
|
(def-package! flycheck-popup-tip
|
||||||
|
:when IS-MAC
|
||||||
|
:after flycheck
|
||||||
|
:hook (flycheck-mode . flycheck-popup-tip-mode))
|
||||||
|
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
;;; feature/syntax-checker/packages.el
|
;;; feature/syntax-checker/packages.el
|
||||||
|
|
||||||
(package! flycheck)
|
(package! flycheck)
|
||||||
(package! flycheck-pos-tip)
|
(if IS-MAC
|
||||||
|
(package! flycheck-popup-tip)
|
||||||
|
(package! flycheck-pos-tip))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue