Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mini_diff should be configurable to ignore files under VCS (avoid GitGutter conflict) #6526

Open
eugenesvk opened this issue Nov 3, 2024 · 1 comment

Comments

@eugenesvk
Copy link

Problem description

mini_diff is a cool feature, but conflicts with GitGutter. Currently you can disable mini_diff in non-VCS managed files per #2593, but can't disable it only in VCS managed files so that you can use GitGutter for VCS files and mini_diff elsewhere without any conflict

Preferred solution

Add a "mini_diff": "nonvcs", option that would only disable builtin minidiff in VCS-managed files, but leave it for regular files

Alternatives

n/a

Additional Information

No response

@deathaxe
Copy link
Collaborator

Well, actually - if using information from git is preffered - an API to add diff markers would probably better then messing gutter with icons based on regions. IIRC, however mini_diff was the answer to such request - accepting internal method is not always in sync with git diff for performance reasons.

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

No branches or pull requests

2 participants