Disable lsp-ui-doc by default

In the interest of performance and simplicity. lsp-ui-doc is redundant
with +lookup/documentation and eldoc (which are less imposing than
lsp-ui-doc's childframe).

Also sets lsp-groovy-server-install-dir.
This commit is contained in:
Henrik Lissner 2019-05-17 02:05:33 -04:00
parent 3240238a18
commit 87899124ab
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -2,7 +2,8 @@
(setq lsp-session-file (concat doom-etc-dir "lsp-session") (setq lsp-session-file (concat doom-etc-dir "lsp-session")
lsp-auto-guess-root t lsp-auto-guess-root t
lsp-keep-workspace-alive nil) lsp-keep-workspace-alive nil
lsp-groovy-server-install-dir (concat doom-etc-dir "groovy-langserver/"))
(after! lsp-mode (after! lsp-mode
(set-lookup-handlers! 'lsp-mode :async t (set-lookup-handlers! 'lsp-mode :async t
@ -18,7 +19,10 @@
(setq lsp-prefer-flymake nil (setq lsp-prefer-flymake nil
lsp-ui-doc-max-height 8 lsp-ui-doc-max-height 8
lsp-ui-doc-max-width 35 lsp-ui-doc-max-width 35
lsp-ui-sideline-ignore-duplicate t) lsp-ui-sideline-ignore-duplicate t
;; lsp-ui-doc is redundant with and less invasive than
;; `+lookup/documentation'
lsp-ui-doc-enable nil)
(set-lookup-handlers! 'lsp-ui-mode :async t (set-lookup-handlers! 'lsp-ui-mode :async t
:definition 'lsp-ui-peek-find-definitions :definition 'lsp-ui-peek-find-definitions