From 2a6029ddff876009a0b57079c1296ed280b26a7d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 13 Mar 2018 03:01:49 -0400 Subject: [PATCH] feature/syntax-checker: move popup-top/popup init into def-package! --- modules/feature/syntax-checker/config.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/feature/syntax-checker/config.el b/modules/feature/syntax-checker/config.el index 109f82443..210ab7e6f 100644 --- a/modules/feature/syntax-checker/config.el +++ b/modules/feature/syntax-checker/config.el @@ -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)))