{"action":"created","issue":{"url":"https://api.github.com/repos/vim/vim/issues/724","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/724/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/724/comments","events_url":"https://api.github.com/repos/vim/vim/issues/724/events","html_url":"https://github.com/vim/vim/issues/724","id":145251613,"number":724,"title":"Git uses a lower case `index` for diffing","user":{"login":"mtglsk","id":10101321,"avatar_url":"https://avatars.githubusercontent.com/u/10101321?v=3","gravatar_id":"","url":"https://api.github.com/users/mtglsk","html_url":"https://github.com/mtglsk","followers_url":"https://api.github.com/users/mtglsk/followers","following_url":"https://api.github.com/users/mtglsk/following{/other_user}","gists_url":"https://api.github.com/users/mtglsk/gists{/gist_id}","starred_url":"https://api.github.com/users/mtglsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtglsk/subscriptions","organizations_url":"https://api.github.com/users/mtglsk/orgs","repos_url":"https://api.github.com/users/mtglsk/repos","events_url":"https://api.github.com/users/mtglsk/events{/privacy}","received_events_url":"https://api.github.com/users/mtglsk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-01T18:35:04Z","updated_at":"2016-04-02T17:54:12Z","closed_at":"2016-04-02T17:54:12Z","body":"Here is a solution (runtime/syntax/diff.vim lines ~350) [note the lack of colon after `index`]:\r\n\r\n    syn match diffFile\t\"^index .*\""},"comment":{"url":"https://api.github.com/repos/vim/vim/issues/comments/204765534","html_url":"https://github.com/vim/vim/issues/724#issuecomment-204765534","issue_url":"https://api.github.com/repos/vim/vim/issues/724","id":204765534,"user":{"login":"brammool","id":8530623,"avatar_url":"https://avatars.githubusercontent.com/u/8530623?v=3","gravatar_id":"","url":"https://api.github.com/users/brammool","html_url":"https://github.com/brammool","followers_url":"https://api.github.com/users/brammool/followers","following_url":"https://api.github.com/users/brammool/following{/other_user}","gists_url":"https://api.github.com/users/brammool/gists{/gist_id}","starred_url":"https://api.github.com/users/brammool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brammool/subscriptions","organizations_url":"https://api.github.com/users/brammool/orgs","repos_url":"https://api.github.com/users/brammool/repos","events_url":"https://api.github.com/users/brammool/events{/privacy}","received_events_url":"https://api.github.com/users/brammool/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T17:54:12Z","updated_at":"2016-04-02T17:54:12Z","body":"Looking at a git diff, that line is not really a line like \"Index\", it's some version thing.\r\nAlso \"index \" might match too match, I think we can make it more specific:\r\n\r\nsyn match diffIndexLine\t\"^index \\x\\x\\x\\x.*\"\r\nhi def link diffIndexLine\tPreProc\r\n"}}