From c85004a0c3639d166efb511a5e0c06409348ce1e Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Thu, 17 Nov 2022 08:20:50 -0500 Subject: Hover at point mode for eldoc, awesome! --- lisp/general.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lisp/general.el') diff --git a/lisp/general.el b/lisp/general.el index 80096a1..e78e86e 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -35,6 +35,9 @@ ;; Line numbers (global-linum-mode 1) +;; Smart parentheses +(smartparens-global-mode 1) + ;; Minimap (require 'minimap) (minimap-mode 1) @@ -250,7 +253,14 @@ (eglot-autoshutdown t) :ensure t :defer 3) -;(set-face-background 'eglot-highlight-symbol-face "lemon chiffon") + + +(use-package eldoc-box + :ensure t + :defer t) + +(eldoc-box-hover-at-point-mode 1) +(add-hook 'eglot-managed-mode-hook #'eldoc-box-hover-at-point-mode t) ;; Vterm (require 'vterm) -- cgit v1.2.1