Skip to content

Comments

Customizable ignorable commands for show-hunk-inline#228

Merged
dgutov merged 1 commit intodgutov:masterfrom
wyuenho:customizable-ignorable-commands
Nov 21, 2025
Merged

Customizable ignorable commands for show-hunk-inline#228
dgutov merged 1 commit intodgutov:masterfrom
wyuenho:customizable-ignorable-commands

Conversation

@wyuenho
Copy link
Contributor

@wyuenho wyuenho commented Dec 10, 2024

Depends on #227 to be merged first.

The diff is here https://github.com/wyuenho/diff-hl/compare/refactor-show-hunk...wyuenho:diff-hl:customizable-ignorable-commands

This PR just extracts the list of hardcoded commands in diff-hl-show-hunk-ignorable-command-p into a defcustom, and make both the posframe and inline frontends to respect it. This is useful to ignore some minor modes commands that bind to <mouse-motion> like lsp-ui-doc-mode.

@wyuenho wyuenho changed the title Customizable ignorable commands Customizable ignorable commands for show-hunk-inline Nov 2, 2025
@dgutov dgutov merged commit 05b92b4 into dgutov:master Nov 21, 2025
7 of 8 checks passed
@dgutov
Copy link
Owner

dgutov commented Nov 21, 2025

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants