From 366f3d03ed74d6a26e037afc3bb5bea8a6a1c522 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Sat, 25 Sep 2021 06:10:16 +0900 Subject: [PATCH] Add eglot configs --- emacs.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs.el b/emacs.el index a75fe65..e5940ba 100644 --- a/emacs.el +++ b/emacs.el @@ -3141,6 +3141,13 @@ ARGS are not used." (when (fboundp 'projectile-mode) (projectile-mode 1)) +(with-eval-after-load 'eglot + (when (fboundp 'with-venv-advice-add) + (with-venv-advice-add 'eglot--executable-find)) + (set-variable 'eldoc-echo-area-use-multiline-p nil)) + + + (message "Emacs started at %s" (current-time-string)) (run-with-idle-timer (* 3 60 60) ;; 3 hours