aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2017-03-30 20:04:29 -0700
committerGravatar Tom Willemse2017-03-30 20:04:29 -0700
commitaefeec6f3540282b5dfce25928aa3763fafe9254 (patch)
tree64f04aa8e97c88c116d096db519d8837ce54fba1
parentc139e076d0a1434e9c70b46c06e7757433cac39d (diff)
downloadnew-dotfiles-aefeec6f3540282b5dfce25928aa3763fafe9254.tar.gz
new-dotfiles-aefeec6f3540282b5dfce25928aa3763fafe9254.zip
Change comany frontends
-rw-r--r--emacs/.emacs.d/init/oni-company-init.org10
1 files changed, 10 insertions, 0 deletions
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