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

🐛 Some differences in key: value format are not highlighted #1776

Open
2 tasks done
sskras opened this issue Jul 31, 2024 · 0 comments
Open
2 tasks done

🐛 Some differences in key: value format are not highlighted #1776

sskras opened this issue Jul 31, 2024 · 0 comments

Comments

@sskras
Copy link

sskras commented Jul 31, 2024

If compare two text files in key: value format, differences on some lines aren't highlighted.
That also remains if I emulate other tool:

  • The raw text output from diff:
--- 1.txt       2024-07-31 12:08:29.959299492 +0300
+++ 2.txt       2024-07-31 12:08:56.531841921 +0300
@@ -1,6 +1,6 @@
 boot: order=scsi0;ide2;net0
-cores: 96
+cores: 2
 scsihw: virtio-scsi-single
-smbios1: uuid=50aa1e50-3ad9-45f1-b9d6-28245cdac1c6
+smbios1: uuid=56097496-497e-4c39-abc4-fccbbf693e68
 sockets: 1
-vmgenid: 93d2f111-f51d-40a5-8108-53e1f575e883
+vmgenid: 1d7f5161-973e-4f5d-9d03-fb8f23f77907
  • The screenshot of Delta's output:

image

Differences in line cores: are colorized
Differences in lines smbios1: and vmgenid: are not.

However, if I rename .txt into .conf, the latter differences got some highlight (even if incomplete):

image

@sskras sskras changed the title 🐛 🐛 Some differences in key: value format are not highlighted Jul 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

No branches or pull requests

1 participant