Modernize lsp-mode integration

* switch the company-backend used by lsp-mode from company-lsp to
company-capf (said to provide better performance and allows us to remove
the dependency on company-lsp)

* when available (on recent builds of Emacs 27+), lsp-mode buffers will
now use a larger than default value of `read-process-output-max`.
According to the lsp-mode performance guide, this can also significantly
improve lsp-mode performance

* flycheck support recently moved into lsp proper; with this commit,
the lsp module follows suit and prefers lsp-flycheck over
lsp-ui-flycheck

* if the new module flag `+no-peek` is set, doom-emacs will now use the xref
backend for reference and definition lookup instead of the lsp-ui-peek-*
backend offered by lsp-ui-mode
This commit is contained in:
Sebastian Sturm 2020-02-23 16:37:16 +01:00 committed by Sebastian Sturm
parent ca1a614e63
commit 998dccd8fe
4 changed files with 62 additions and 46 deletions

View file

@ -1,8 +1,8 @@
;; -*- no-byte-compile: t; -*-
;;; tools/lsp/packages.el
(package! lsp-mode :pin "2fc0963a50")
(package! lsp-ui :pin "e8200e3b72")
(package! lsp-mode :pin "fc812bea1f")
(package! lsp-ui :pin "da9788b427")
(when (featurep! :completion company)
(package! company-lsp :pin "f921ffa0cd"))
(when (featurep! :completion ivy)