Support For Property List (PList) Format
Syntax Highlighting For The Output From defaults read
[$]> defaults read com.googlecode.iterm2
{
AppleAntiAliasingThreshold = 1;
"Default Bookmark Guid" = "AD854671-C976-4C5D-9EA2-BD69DF273EF4";
"NSSplitView Subview Frames NSColorPanelSplitView" = (
"0.000000, 0.000000, 224.000000, 258.000000, NO, NO",
"0.000000, 259.000000, 224.000000, 48.000000, NO, NO"
);
"NSToolbar Configuration com.apple.NSColorPanel" = {
"TB Is Shown" = 1;
};
"iTerm Version" = "3.4.15";
}
https://en.wikipedia.org/wiki/Property_list
I believe this has already been implemented in some other tools! They appear to be using the same file.
Textmate
https://github.com/textmate/property-list.tmbundle/blob/textmate-1.x/Syntaxes/Property%20List.tmLanguage
Sublime
https://github.com/tyrone-sudeium/st3-binaryplist/blob/master/Property_List.tmLanguage
Bat Issue https://github.com/sharkdp/bat/issues/2247
Hi @Gerst20051, thanks for opening the issue here and in bat. Delta uses the collection of language syntax definitions distributed in the bat crate, so when it's available there, we can close this issue with a bat crate version bump. (It's pretty easy to add the syntax definition to the bat collection, so if you felt like making the bat PR I imagine they'd appreciate it.)