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 ()