Company mode configuration
This commit is contained in:
parent
aeea0f8144
commit
f2d9ce8671
18
config.org
18
config.org
|
|
@ -276,6 +276,24 @@ Counsel for Projectile
|
||||||
:init
|
:init
|
||||||
(global-company-mode 1))
|
(global-company-mode 1))
|
||||||
#+END_SRC
|
#+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
|
**** Company Quickhelp
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package company-quickhelp
|
(use-package company-quickhelp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue