Merge pull request #1597 from ar1a/straight-lsp-company
tools/lsp: cache company candidates automagically
This commit is contained in:
commit
05f7565a57
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue