From 2656ffa229e4f2b721b813c8c2651ddcbd502aef Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 4 Jun 2014 15:57:29 +0300 Subject: [PATCH] Set company-tooltip-flip-when-above to t --- modules/prelude-company.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/prelude-company.el b/modules/prelude-company.el index dfdc422..8eac10f 100644 --- a/modules/prelude-company.el +++ b/modules/prelude-company.el @@ -38,6 +38,9 @@ (setq company-idle-delay 0.5) (setq company-tooltip-limit 10) (setq company-minimum-prefix-length 2) +;; invert the navigation direction if the the completion popup-isearch-match +;; is displayed on top (happens near the bottom of windows) +(setq company-tooltip-flip-when-above t) (global-company-mode 1)