From e5785374f24ad7a08515dd051a7e15c66db34301 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 30 Nov 2022 16:50:39 +0100 Subject: [PATCH] Migrate to eglot --- +ui.el | 13 ++++--------- init.el | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/+ui.el b/+ui.el index ada8790..19128d6 100644 --- a/+ui.el +++ b/+ui.el @@ -18,15 +18,10 @@ (setq direnv-always-show-summary nil) ;; Change splash-screen banner (setq fancy-splash-image "~/.doom.d/assets/emacs.svg") -;; Disable LSP documentation popup -(after! lsp-ui - (setq lsp-ui-doc-enable nil - lsp-signature-auto-activate nil - lsp-enable-symbol-highlighting nil - lsp-ui-sideline-enable nil - lsp-modeline-code-actions-enable nil - lsp-headerline-breadcrumb-enable nil - lsp-len-enable nil)) +;; Remove distracting LSP UI elements +(after! eglot + (setq eldoc-echo-area-use-multiline-p nil) + (set-popup-rule! "^\\*eglot-help" :size 0.2 :quit t :select t)) ;; Shrink minibuffer (after! vertico (setq vertico-count 8)) diff --git a/init.el b/init.el index a5c4891..dfaafea 100644 --- a/init.el +++ b/init.el @@ -92,7 +92,7 @@ ;;gist ; interacting with github gists lookup ; navigate your code and its documentation ;;+docsets) ; ...or in Dash docsets locally - lsp ; M-x vscode + (lsp +eglot) ; M-x vscode ;;macos ; MacOS-specific commands magit ; a git porcelain for Emacs make ; run make tasks from Emacs