[{"data":1,"prerenderedAt":346},["ShallowReactive",2],{"project-22996374":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":44,"post_text":45,"what":46,"said":64,"maker_in_thread":181,"shape":192,"grid":195,"attempts":300,"same_week":311,"maker_shows":40,"maker_hidden":338,"reader_version":339,"card":340},"22996374","delta","A syntax highlighter for Git and diff output, written in Rust","title","Show HN: A syntax highlighter for Git and diff output, written in Rust","https:\u002F\u002Fgithub.com\u002Fdandavison\u002Fdelta","github.com","Myrmornis",1587999105,2020,261,40,174,3028,6,"legend","dev_tools","diff viewer","cli",[24,25,26,27],"git diff","syntax highlighting","diff pager","terminal diff","mixed",0.017,{"positive":31,"neutral":32,"mixed":33,"critical":34},7,10,0,5,22,{"execution":37,"docs":39,"design":41,"idea":43},{"positive":38,"critical":33},1,{"positive":38,"critical":40},2,{"positive":40,"critical":42},3,{"positive":38,"critical":33},[33,33,33,33,42,42,33,34,42,38,42,33,34,38,33,34,38,33,42,42,34,33,34,33,42,33,42,38,33,42,33,34,34,33,42,33,38,33,33,33],null,{"problem":47,"audience":45,"pricing":45,"motivation":45,"time_to_build":45,"stack":54,"openness":63,"stage":63,"team_size":63},{"value":48,"source":49,"evidence":50},"Git and diff output is hard to read; delta highlights code syntax and differing substrings.","maker",[51],{"id":52,"by":11,"text":53},"22996377","Delta[0] applies syntax highlighting to the code sections of git and diff output, and uses background colors (instead of +\u002F-) to indicate added \u002F removed content. It's written in…",[55,59],{"value":56,"source":49,"evidence":57},"Rust",[58],{"id":52,"by":11,"text":53},{"value":60,"source":49,"evidence":61},"syntect highlighting library",[62],{"id":52,"by":11,"text":53},"unknown",{"praise":65,"objections":88,"requests":114,"questions":133,"alternatives":148},[66,74,81],{"value":67,"source":68,"evidence":69},"Looks great and a big step up from diff-so-fancy","commenter",[70],{"id":71,"by":72,"text":73},"22998472","nitsky","Just installed it, it looks great and is a big step up from diff-so-fancy. Thanks for making this!",{"value":75,"source":68,"evidence":76},"Light theme looks beautiful",[77],{"id":78,"by":79,"text":80},"22999029","loevborg","The light theme looks beautiful, thanks!",{"value":82,"source":68,"evidence":83},"Makes daily code reviews much better",[84],{"id":85,"by":86,"text":87},"23004130","axegon_","Stuff like that makes my daily code reviews so so SO much better! I can't thank you enough!",[89,96,103],{"value":90,"source":68,"evidence":91},"Dark theme example has unreadable blue colors",[92],{"id":93,"by":94,"text":95},"23002812","xixixao","FYI that dark theme example has unreadable blue for me in looking at it with night shift on. I'd suggest swapping out for a better theme.",{"value":97,"source":68,"evidence":98},"Lacks line numbers on every line, unlike GitHub",[99],{"id":100,"by":101,"text":102},"22998617","kccqzy","This might be just me but looking at the screenshots, I clearly prefer the GitHub one as it shows the line numbers of every line in both before and after. Line numbers make…",{"value":104,"source":68,"evidence":105},"Config examples failed due to theme names and quoting",[106,110],{"id":107,"by":108,"text":109},"22998812","bdefore","As a suggestion, I'd have the configuration step in 'Configure git to use delta' not reference a theme that doesn't come with the initial install as you've done with…",{"id":111,"by":112,"text":113},"23001465","willbw","Anyone else getting this issue? ``` ⟩ git diff error: Found argument 'Extended' which wasn't expected, or isn't valid in this context USAGE: delta --dark --minus-color…",[115,122,129],{"value":116,"source":68,"evidence":117},"Side-by-side diff view",[118],{"id":119,"by":120,"text":121},"22998778","ninjaranter","Is there a way to see diff output side-by-side? I personally find that much easier to parse through with a widescreen monitor.",{"value":123,"source":68,"evidence":124},"Support for git add -p",[125],{"id":126,"by":127,"text":128},"22998339","frou_dh","Does it work properly with `git add -p`? That's a longstanding issue of diff-so-fancy: https:\u002F\u002Fgithub.com\u002Fso-fancy\u002Fdiff-so-fancy\u002Fissues\u002F35",{"value":130,"source":68,"evidence":131},"Line numbers on every line",[132],{"id":100,"by":101,"text":102},[134,141],{"value":135,"source":68,"evidence":136},"How to get working with vim-fugitive",[137],{"id":138,"by":139,"text":140},"22999850","firloop","Anyone know how to get this working with vim-fugitive? https:\u002F\u002Fgithub.com\u002Ftpope\u002Fvim-fugitive",{"value":142,"source":68,"evidence":143},"Good plus-color for solarized-dark terminals",[144],{"id":145,"by":146,"text":147},"22999756","j88439h84","Can anybody suggest a --plus-color that looks nice on a solarized-dark blue terminal?",[149,156,160,167,174],{"value":150,"source":68,"evidence":151},"diff-highlight",[152],{"id":153,"by":154,"text":155},"22999119","apas","This is neat. In a similar fashion I'm a big fan of diff-highlight, [0] which post-processes the git diff and highlights with color the differing segments. It's super lightweight…",{"value":157,"source":68,"evidence":158},"diff-so-fancy",[159],{"id":126,"by":127,"text":128},{"value":161,"source":68,"evidence":162},"diffr",[163],{"id":164,"by":165,"text":166},"23000216","mookid11","Sort of related: as I never made diff-highlight work correctly on Windows, I wrote diffr[0] which goes a little bit behond what diff-highlight does. [0]:…",{"value":168,"source":68,"evidence":169},"icdiff",[170],{"id":171,"by":172,"text":173},"22999329","eximius","icdiff is my current favorite. This does look nice, though I'm a little confused by the choice to highlight the section below the function declaration change even though it…",{"value":175,"source":68,"evidence":176},"colordiff",[177],{"id":178,"by":179,"text":180},"22999112","Klasiaster","A comparison to http:\u002F\u002Fwww.colordiff.org\u002F would be good in the table of the README.",{"comments":182,"answered":183,"key":184},11,4,[185,186,189],{"id":52,"text":53},{"id":187,"text":188},"22998590","Yes it does. Thanks for asking, I hadn't tested this out. The key is the `--color-only` argument, which guarantees that, other than ANSI color escape sequences, the original…",{"id":190,"text":191},"22998859","Thank you! Fixed that.",{"commenters":193,"max_depth":42,"maker_replies":182,"first_comment_mins":33,"lifespan_hours":194},26,24,[196,198,202,203,205,207,210,212,216,218,220,223,225,228,230,233,235,236,239,242,245,250,254,255,258,261,264,266,268,270,272,275,279,281,283,286,288,290,292,296],[153,33,33,197,154,33],"commenter\u002Fpositive\u002Fnone",[199,33,33,200,201,33],"23000211","commenter\u002Fneutral\u002Fnone","kyzn",[164,33,33,200,165,33],[52,38,33,204,11,38],"project\u002Fneutral\u002Fidea",[126,40,42,206,127,33],"project\u002Fneutral\u002Fexecution",[208,40,42,206,209,33],"22998530","lzybkr",[187,40,33,211,11,38],"maker\u002Fneutral\u002Fexecution",[213,40,34,214,215,33],"22998791","project\u002Fpositive\u002Fexecution","OJFord",[217,42,42,206,209,33],"22998545",[107,183,38,219,108,33],"project\u002Fcritical\u002Fdocs",[221,183,42,222,72,33],"22998840","project\u002Fneutral\u002Fdocs",[190,183,33,224,11,38],"maker\u002Fpositive\u002Fdocs",[226,183,34,227,108,33],"22998976","project\u002Fpositive\u002Fdocs",[100,34,38,229,101,33],"project\u002Fcritical\u002Fdesign",[231,34,33,232,11,38],"22998709","maker\u002Fneutral\u002Fdesign",[71,18,34,234,72,33],"project\u002Fpositive\u002Fnone",[111,31,38,219,112,33],[237,31,33,238,11,38],"23001590","maker\u002Fneutral\u002Fdocs",[145,240,42,241,146,33],8,"project\u002Fneutral\u002Fdesign",[243,240,42,241,244,33],"23002774","squaresmile",[246,247,34,248,249,33],"23000087",9,"project\u002Fpositive\u002Fdesign","atombender",[251,32,33,252,253,33],"22998460","other\u002Fneutral\u002Fnone","yboris",[85,182,34,234,86,33],[256,182,33,257,11,38],"23007767","maker\u002Fpositive\u002Fnone",[138,259,42,260,139,33],12,"project\u002Fneutral\u002Fnone",[262,259,33,252,263,33],"23004280","airblade",[178,265,42,222,179,33],13,[93,267,38,229,94,33],14,[269,267,33,232,11,38],"23002991",[119,271,42,204,120,33],15,[273,271,33,274,11,38],"22999054","maker\u002Fneutral\u002Fidea",[276,271,34,277,278,33],"23001234","project\u002Fpositive\u002Fidea","jwatt",[78,280,34,248,79,33],16,[282,280,33,232,11,38],"23000547",[284,285,42,241,146,33],"22999777",17,[287,285,33,238,11,38],"23000505",[171,289,38,229,172,33],18,[291,289,33,232,11,38],"22999468",[293,294,33,252,295,33],"23001303",19,"highmastdon",[297,298,33,252,299,33],"22998771",20,"fallingmeat",[301,304,307,310],{"id":302,"t":303,"points":183,"comments":33},"21016938",1568905956,{"id":305,"t":306,"points":40,"comments":33},"21217855",1570733142,{"id":308,"t":309,"points":40,"comments":183},"22309275",1581519544,{"id":4,"t":12,"points":14,"comments":15},[312,316,320,325,330,334],{"id":313,"name":314,"points":315,"category":20},"23006794","Editly",429,{"id":317,"name":318,"points":319,"category":20},"23021295","Insomnia Designer",317,{"id":321,"name":322,"points":323,"category":324},"22985055","Kanmail",271,"productivity",{"id":326,"name":327,"points":328,"category":329},"22979288","exchangerate.host",249,"finance_crypto",{"id":331,"name":332,"points":333,"category":324},"22974380","Help Me Decide Please",194,{"id":335,"name":336,"points":337,"category":324},"22989904","gmail-helper",192,false,"v2",{"id":341,"name":5,"line":6,"ai":338,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":342,"top":18,"kw":343,"maker":11,"domain":10,"tier":19,"attempts":183,"strip":344,"url":9,"mix":345,"praise":67,"objection":90,"sub":21},22996374,0.02,[24,25,26,27],"0000330531305105103350503031030550301000",[31,32,33,34],1793991008280]