Merge pull request #1597 from ar1a/straight-lsp-company

tools/lsp: cache company candidates automagically
This commit is contained in:
Henrik Lissner 2019-07-26 20:33:28 +02:00 committed by GitHub
commit 05f7565a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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