{"action":"created","issue":{"url":"https://api.github.com/repos/dlang/dmd/issues/7822","repository_url":"https://api.github.com/repos/dlang/dmd","labels_url":"https://api.github.com/repos/dlang/dmd/issues/7822/labels{/name}","comments_url":"https://api.github.com/repos/dlang/dmd/issues/7822/comments","events_url":"https://api.github.com/repos/dlang/dmd/issues/7822/events","html_url":"https://github.com/dlang/dmd/pull/7822","id":293471900,"number":7822,"title":"Fix Issue 18348 - Color highlighting of backticks doesn't work","user":{"login":"wilzbach","id":4370550,"avatar_url":"https://avatars3.githubusercontent.com/u/4370550?v=4","gravatar_id":"","url":"https://api.github.com/users/wilzbach","html_url":"https://github.com/wilzbach","followers_url":"https://api.github.com/users/wilzbach/followers","following_url":"https://api.github.com/users/wilzbach/following{/other_user}","gists_url":"https://api.github.com/users/wilzbach/gists{/gist_id}","starred_url":"https://api.github.com/users/wilzbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilzbach/subscriptions","organizations_url":"https://api.github.com/users/wilzbach/orgs","repos_url":"https://api.github.com/users/wilzbach/repos","events_url":"https://api.github.com/users/wilzbach/events{/privacy}","received_events_url":"https://api.github.com/users/wilzbach/received_events","type":"User","site_admin":false},"labels":[{"id":537492633,"url":"https://api.github.com/repos/dlang/dmd/labels/Bug%20Fix","name":"Bug Fix","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-01T10:10:00Z","updated_at":"2018-02-01T11:12:25Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/dlang/dmd/pulls/7822","html_url":"https://github.com/dlang/dmd/pull/7822","diff_url":"https://github.com/dlang/dmd/pull/7822.diff","patch_url":"https://github.com/dlang/dmd/pull/7822.patch"},"body":"tl;dr: backticks aren't highlighted.\n\nReproduce:\n\n```d\necho \"aa\" | dmddev -c -\n```\n\nOr: https://run.dlang.io/is/ioU894\n\nI would also prefer when I manually set `-color=on` to true, DMD would accept that.\nIt requires ugly workarounds otherwise."},"comment":{"url":"https://api.github.com/repos/dlang/dmd/issues/comments/362234898","html_url":"https://github.com/dlang/dmd/pull/7822#issuecomment-362234898","issue_url":"https://api.github.com/repos/dlang/dmd/issues/7822","id":362234898,"user":{"login":"timotheecour","id":2194784,"avatar_url":"https://avatars2.githubusercontent.com/u/2194784?v=4","gravatar_id":"","url":"https://api.github.com/users/timotheecour","html_url":"https://github.com/timotheecour","followers_url":"https://api.github.com/users/timotheecour/followers","following_url":"https://api.github.com/users/timotheecour/following{/other_user}","gists_url":"https://api.github.com/users/timotheecour/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheecour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheecour/subscriptions","organizations_url":"https://api.github.com/users/timotheecour/orgs","repos_url":"https://api.github.com/users/timotheecour/repos","events_url":"https://api.github.com/users/timotheecour/events{/privacy}","received_events_url":"https://api.github.com/users/timotheecour/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T11:12:25Z","updated_at":"2018-02-01T11:12:25Z","author_association":"NONE","body":"could we just do the way many tools do? -color=[on|off|auto]\r\nauto would switch on/off depending on `isatty`\r\n\r\neg: git help diff\r\n```\r\n--color[=<when>]\r\n           Show colored diff.  --color (i.e. without =<when>) is the same as --color=always.  <when> can be one of always, never, or auto. It can be changed by the color.ui and\r\n           color.diff configuration settings.\r\n```\r\n"}}
{"actor":{"display_login":"timotheecour"}}