Add imenu-auto-rescan and imenu-max-item-length

This commit is contained in:
James Cherti
2025-06-26 12:11:37 -04:00
parent 32902df61a
commit 691a293e58

View File

@@ -121,6 +121,13 @@
(setq tramp-completion-reread-directory-timeout 50)
(setq remote-file-name-inhibit-cache 50)
;; Automatically rescan the buffer for Imenu entries when `imenu' is invoked
;; This ensures the index reflects recent edits.
(setq imenu-auto-rescan t)
;; Prevent truncation of long function names in `imenu' listings
(setq imenu-max-item-length 160)
;;; Files
;; Delete by moving to trash in interactive mode