summary refs log tree commit diff
path: root/emacs.d/modules/module-autocomplete.el
blob: abbf162de291be259050fde0a614a546e484d195 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(use-package company
  :commands company-mode
  :diminish company-mode
  :config
  (global-company-mode)
  (setq company-global-modes '(not term-mode)
        company-idle-delay 0.3
        company-minimum-prefix-length 3
        company-selection-wrap-around t
        company-show-numbers t
        company-tooltip-align-annotations t
        company-require-match nil))

(use-package lsp-mode
  :config
  (setq lsp-response-timeout 10))

(use-package lsp-ui
  :init
  (add-hook 'lsp-mode-hook 'lsp-ui-mode))

(use-package company-lsp)

(provide 'module-autocomplete)