Skip to content

Commit

Permalink
Fix: flycheck-posframe overrides company popups.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Mar 27, 2019
1 parent 144ee6a commit 231150c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lisp/init-flycheck.el
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
(if (display-graphic-p)
(if emacs/>=26p
(use-package flycheck-posframe
:hook (flycheck-mode . flycheck-posframe-mode))
:hook (flycheck-mode . flycheck-posframe-mode)
:config (add-to-list 'flycheck-posframe-inhibit-functions
#'(lambda () (bound-and-true-p company-backend))))
(use-package flycheck-pos-tip
:defines flycheck-pos-tip-timeout
:hook (global-flycheck-mode . flycheck-pos-tip-mode)
Expand Down

0 comments on commit 231150c

Please sign in to comment.