blob: 513b563859f46c61511cd78549254d11138c31cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
(use-package company
:ensure t
:defer t
:init (global-company-mode)
:config
(progn
;; Use Company for completion
(bind-key [remap completion-at-point] #'company-complete company-mode-map)
(setq company-tooltip-align-annotations t
;; Easy navigation to candidates with M-<n>
company-show-numbers t)
(setq company-dabbrev-downcase nil))
(setq company-idle-delay 0)
(setq company-minimum-prefix-length 1)
:diminish company-mode)
(use-package company-quickhelp ; Documentation popups for Company
:ensure t
:defer t
:init (add-hook 'global-company-mode-hook #'company-quickhelp-mode))
(use-package company-go
:ensure t
:defer t
:init
(with-eval-after-load 'company
(add-to-list 'company-backends 'company-go)))
(use-package company-lsp
:ensure t
:commands company-lsp)
|