feature/syntax-checker: move popup-top/popup init into def-package!

This commit is contained in:
Henrik Lissner 2018-03-13 03:01:49 -04:00
parent 6a2d244b4c
commit 2a6029ddff
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -31,18 +31,18 @@
;; + tty Emacs (anywhere): popup-tip
(def-package! flycheck-pos-tip
:commands (flycheck-pos-tip-mode)
:unless IS-MAC
:after flycheck
:config
(setq flycheck-pos-tip-timeout 10
;; fallback to flycheck-popup-tip in terminal Emacs
flycheck-pos-tip-display-errors-tty-function
#'flycheck-popup-tip-show-popup
flycheck-display-errors-delay 0.7))
flycheck-display-errors-delay 0.7)
(flycheck-pos-tip-mode))
(def-package! flycheck-popup-tip
:commands (flycheck-popup-tip-mode flycheck-popup-tip-show-popup))
:commands (flycheck-popup-tip-mode flycheck-popup-tip-show-popup)
:after flycheck
:config (if IS-MAC (flycheck-popup-tip-mode)))
(after! flycheck
(if IS-MAC
(flycheck-popup-tip-mode)
(flycheck-pos-tip-mode)))