Company mode configuration

This commit is contained in:
Curt Spark 2020-04-13 22:48:29 +01:00
parent aeea0f8144
commit f2d9ce8671
1 changed files with 18 additions and 0 deletions

View File

@ -276,6 +276,24 @@ Counsel for Projectile
:init
(global-company-mode 1))
#+END_SRC
Configuration :
#+BEGIN_SRC emacs-lisp
; No delay in showing suggestions.
(setq company-idle-delay 0)
; Show suggestions after entering one character.
(setq company-minimum-prefix-length 1)
; Wrap around when suggestions reach bottom.
(setq company-selection-wrap-around t)
; Use tab key to cycle through suggestions.
; ('tng' means 'tab and go')
(company-tng-configure-default)
#+END_SRC
**** Company Quickhelp
#+BEGIN_SRC emacs-lisp
(use-package company-quickhelp