summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el6
-rw-r--r--user/settings/emacs.nix1
2 files changed, 7 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index ae17d7c5..5f2ae4e4 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -480,6 +480,12 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             "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))
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index e585ebdc..6111e581 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -86,6 +86,7 @@ in
         bash-completion
         capf-autosuggest
         company
+        company-posframe
         company-tabnine
         consult
         consult-eglot