From ca814209d369d8dcae51cafd895cc5ded542e9aa Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 4 Jan 2024 00:14:49 -0800 Subject: [PATCH] Some changes --- init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index b0d96f9..22d90f8 100644 --- a/init.el +++ b/init.el @@ -496,7 +496,7 @@ visual states." (use-package eldoc :diminish eldoc-mode :init - (setq-default eldoc-echo-area-use-multiline-p 'truncate-sym-name-if-fit)) + (setq-default eldoc-echo-area-use-multiline-p nil)) ;; eglot (use-package eglot @@ -530,8 +530,7 @@ visual states." (switch-to-buffer-other-window buff t))))))))) (defun my/-eglot-setup () "Setup eldoc variables for `eglot-managed-mode-hook'." - (setq-local eldoc-echo-area-use-multiline-p nil - evil-lookup-func #'my/eglot-documentation-at-point) + (setq-local evil-lookup-func #'my/eglot-documentation-at-point) (evil-define-key '(normal motion) 'local "K" #'evil-lookup "gR" #'eglot-rename @@ -1117,7 +1116,8 @@ If no name is given, list all bookmarks instead." :ensure nil :defer nil :hook ((mu4e-index-updated . my/-mu4e-enable-index-messages) - (mu4e-main-mode . my/-mu4e-setup-main-mode)) + (mu4e-main-mode . my/-mu4e-setup-main-mode) + (mu4e-view-mode . my/-mu4e-setup-view-mode)) :bind (("C-x C-m" . mu4e) ("C-x m" . mu4e-compose-new) :map message-mode-map @@ -1125,6 +1125,8 @@ If no name is given, list all bookmarks instead." :init (require 'mu4e) (evil-define-key '(normal motion) mu4e-main-mode-map "q" #'bury-buffer) + (defun my/-mu4e-setup-view-mode () + (setq global-hl-line-mode nil)) (defun my/-mu4e-setup-main-mode () (setq-local default-directory "~/")) (defun my/-mu4e-enable-index-messages ()