Skip to content

Make .debdiff imply .diff using syntax_mapping toml#2947

Merged
keith-hall merged 3 commits intosharkdp:masterfrom
jacg:debdiff
Oct 31, 2024
Merged

Make .debdiff imply .diff using syntax_mapping toml#2947
keith-hall merged 3 commits intosharkdp:masterfrom
jacg:debdiff

Conversation

@jacg
Copy link
Copy Markdown
Contributor

@jacg jacg commented Apr 26, 2024

Closes #2940

I would still like some guidance on what tests need to be added.

@cyqsimon
Copy link
Copy Markdown
Contributor

cyqsimon commented May 15, 2024

If it's a Debian-specific extension, it should go into /src/syntax_mapping/builtins/linux/ rather than unix-family/ no?

On second thought, I think maybe it's better to put it in common/. There is no reason to not highlight .debdiff as .diff on Windows.

@cyqsimon
Copy link
Copy Markdown
Contributor

And I don't think we need tests for trivial additions like these. The build will fail if the TOML file is bad.

@jacg jacg marked this pull request as ready for review May 15, 2024 07:24
@keith-hall keith-hall enabled auto-merge October 21, 2024 20:04
@keith-hall keith-hall merged commit 95cb705 into sharkdp:master Oct 31, 2024
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.

Please support .debdiff files

3 participants