diff options
author | Tom Willemse | 2017-03-30 20:04:29 -0700 |
---|---|---|
committer | Tom Willemse | 2017-03-30 20:04:29 -0700 |
commit | aefeec6f3540282b5dfce25928aa3763fafe9254 (patch) | |
tree | 64f04aa8e97c88c116d096db519d8837ce54fba1 /emacs/.emacs.d | |
parent | c139e076d0a1434e9c70b46c06e7757433cac39d (diff) | |
download | new-dotfiles-aefeec6f3540282b5dfce25928aa3763fafe9254.tar.gz new-dotfiles-aefeec6f3540282b5dfce25928aa3763fafe9254.zip |
Change comany frontends
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init/oni-company-init.org | 10 |
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 |