mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #3241 from flatwhatson/lookup-ielm
Add lookup handlers for IELM
This commit is contained in:
@ -114,6 +114,13 @@ This marks a foldable marker for `outline-minor-mode' in elisp buffers.")
|
|||||||
"v" #'find-variable
|
"v" #'find-variable
|
||||||
"l" #'find-library)))
|
"l" #'find-library)))
|
||||||
|
|
||||||
|
(use-package! ielm
|
||||||
|
:defer t
|
||||||
|
:config
|
||||||
|
(set-lookup-handlers! 'inferior-emacs-lisp-mode
|
||||||
|
:definition #'+emacs-lisp-lookup-definition
|
||||||
|
:documentation #'+emacs-lisp-lookup-documentation))
|
||||||
|
|
||||||
;; Adapted from http://www.modernemacs.com/post/comint-highlighting/ to add
|
;; Adapted from http://www.modernemacs.com/post/comint-highlighting/ to add
|
||||||
;; syntax highlighting to ielm REPLs.
|
;; syntax highlighting to ielm REPLs.
|
||||||
(add-hook! 'ielm-mode-hook
|
(add-hook! 'ielm-mode-hook
|
||||||
|
Reference in New Issue
Block a user