tools/lsp: disable unneeded sideline/eldoc features

This commit is contained in:
Henrik Lissner 2019-07-22 00:43:50 +02:00
parent 13ac086606
commit 951a414ca4
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -38,9 +38,16 @@
lsp-ui-doc-max-height 8
lsp-ui-doc-max-width 35
lsp-ui-sideline-ignore-duplicate t
;; lsp-ui-doc is redundant with and less invasive than
;; lsp-ui-doc is redundant with and more invasive than
;; `+lookup/documentation'
lsp-ui-doc-enable nil)
lsp-ui-doc-enable nil
;; Don't show symbol definitions in the sideline. They are pretty noisy,
;; and there is a bug preventing Flycheck errors from being shown (the
;; errors flash briefly and then disappear).
lsp-ui-sideline-show-hover nil
;; `lsp-ui' offers its own eldoc integration, which is redundant with
;; lsp-mode's.
lsp-eldoc-enable-hover nil)
(set-lookup-handlers! 'lsp-ui-mode :async t
:definition 'lsp-ui-peek-find-definitions