From 74a58f78e6ad6a7d37d687478dc1fac6f4c46887 Mon Sep 17 00:00:00 2001 From: Rahul Martim Juliato Date: Wed, 16 Jul 2025 18:53:34 -0300 Subject: [PATCH] feat(eldoc-box): hello floating docs (req. Emacs 31 on TUI) --- init.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 98061fd..923b4f0 100644 --- a/init.el +++ b/init.el @@ -767,7 +767,18 @@ (setq lsp-tailwindcss-add-on-mode t)) -;;; Diff-HL +;;; ELDOC-BOX +;; eldoc-box enhances the default Eldoc experience by displaying documentation in a popup box, +;; usually in a child frame. This makes it easier to read longer docstrings without relying on +;; the minibuffer. It integrates seamlessly with Eldoc and activates when Eldoc is active. +;; Useful for graphical Emacs; terminal users may want to fall back to `eldoc-box-display-at-point-mode'. +(use-package eldoc-box + :ensure t + :straight t + :defer t) + + +;;; DIFF-HL ;; The `diff-hl' package provides visual indicators for version control changes ;; directly in the margin of the buffer, showing lines added, deleted, or changed. ;; This is useful for tracking modifications while you edit files. When enabled,