all repos — nixfiles @ f83da46fdc6558f072b6cbadc58eb8e1e8775a79

System and user configuration, managed by nix and home-manager

emacs: fix display issues with code completion popups
Alan Pearce alan@alanpearce.eu
Tue, 04 Apr 2023 08:22:25 +0200
commit

f83da46fdc6558f072b6cbadc58eb8e1e8775a79

parent

847af325e3890c185e3faf26c22b036e2ef75ed7

2 files changed, 7 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -480,6 +480,12 @@ "<tab>" #'company-complete-common-or-cycle             "S-TAB" #'company-select-previous
             "<backtab>" #'company-select-previous))
 
+(use-package company-posframe
+  :after company
+  :config (progn
+            (when (display-graphic-p)
+              (company-posframe-mode +1))))
+
 (use-package all-the-icons
   :defer t
   :config (setq all-the-icons-color-icons nil))
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -86,6 +86,7 @@ avy         bash-completion
         capf-autosuggest
         company
+        company-posframe
         company-tabnine
         consult
         consult-eglot