From aefeec6f3540282b5dfce25928aa3763fafe9254 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 30 Mar 2017 20:04:29 -0700 Subject: [PATCH] Change comany frontends --- emacs/.emacs.d/init/oni-company-init.org | 10 ++++++++++ 1 file changed, 10 insertions(+) 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