Skip to content

Customizable ignorable commands for show-hunk-inline - #228

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

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

Conversation

@wyuenho

@wyuenho wyuenho commented Dec 10, 2024

Copy link
Copy Markdown
Contributor

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

dgutov commented Nov 21, 2025

Copy link
Copy Markdown
Owner

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