From 3a40e26dc17ba0c1acbb5212cf27962820ce3d44 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 11 Feb 2022 16:30:52 +0800 Subject: rust: prevent echo area to use multiple lines. * rust-conf.el (eldoc-echo-area-use-multiline-p): I find it annoying to display multiple lines of docucmentation in the echo area constantly, as then the echo area will constantly expand and contract, which is not very visually pleasing in my opinion. --- rust-conf.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust-conf.el b/rust-conf.el index 10adb5c..df37019 100644 --- a/rust-conf.el +++ b/rust-conf.el @@ -45,6 +45,8 @@ (setq eglot-autoshutdown t) +(setq eldoc-echo-area-use-multiline-p nil) + ;; NOTE: I have manually commented out the line which requires ;; lsp-mode. (use-package "rustic" 'rustic) -- cgit v1.2.3-18-g5258