22 lines
566 B
Org Mode
22 lines
566 B
Org Mode
#+TITLE: Company mode configuration
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(require 'company)
|
|
(require 'diminish)
|
|
#+END_SRC
|
|
|
|
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
|