tools/lsp: cache company candidates automatically

This commit is contained in:
Aria Edmonds 2019-07-27 04:28:22 +10:00
parent 9311744f7f
commit 21f1a50436
No known key found for this signature in database
GPG key ID: A301807CDBA64E3E

View file

@ -68,4 +68,6 @@
(setq-local company-backends
(cons 'company-lsp
(remq 'company-capf company-backends)))
(remove-hook 'company-mode-hook #'+lsp-init-company-h t)))))
(remove-hook 'company-mode-hook #'+lsp-init-company-h t))))
:config
(setq company-lsp-cache-candidates 'auto)) ;; cache candidates for better performance