diff --git a/emacs/.emacs.d/init/oni-company-init.org b/emacs/.emacs.d/init/oni-company-init.org index 6524d5f..343a215 100644 --- a/emacs/.emacs.d/init/oni-company-init.org +++ b/emacs/.emacs.d/init/oni-company-init.org @@ -10,3 +10,13 @@ Don't show that company mode is enabled in the minibuffer. #+BEGIN_SRC emacs-lisp (diminish 'company-mode) #+END_SRC + +Show a tooltip when there is more than one completion, show the +documentation for a symbol in the echo area and always show a preview. + +#+BEGIN_SRC emacs-lisp + (setq company-frontends + '(company-pseudo-tooltip-unless-just-one-frontend + company-echo-metadata-frontend + company-preview-frontend)) +#+END_SRC