-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Macrostep shows macro expansions using overlays either in a separate buffer or at the location where the macro is used. In the overlay, it binds a local map to further expand or collapse macros. This change takes inspiration for the Beacon state and checks whether point is inside one of the overlays in `post-command-hook`. However, at least one of the commands to collapse the overlay does not seem to trigger `post-command-hook`, so switching back to the previous state is also done during `macrostep-mode-hook`. Co-authored-by: okamsn <[email protected]>
- Loading branch information
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters