summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-02-11 16:30:52 +0800
committerJSDurand <mmemmew@gmail.com>2022-02-11 16:30:52 +0800
commit3a40e26dc17ba0c1acbb5212cf27962820ce3d44 (patch)
treeab6ea963cc296db7f0e657e481fe5da1a3029c3d
parent2f4ca21b70eb7c4bb1ab96bd57bee711ea274778 (diff)
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.
-rw-r--r--rust-conf.el2
1 files changed, 2 insertions, 0 deletions
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)