{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/3031","repository_url":"https://api.github.com/repos/github/linguist","labels_url":"https://api.github.com/repos/github/linguist/issues/3031/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/3031/comments","events_url":"https://api.github.com/repos/github/linguist/issues/3031/events","html_url":"https://github.com/github/linguist/issues/3031","id":157765153,"number":3031,"title":"Inconsistent syntax highlighting","user":{"login":"BaerMitUmlaut","id":9693842,"avatar_url":"https://avatars.githubusercontent.com/u/9693842?v=3","gravatar_id":"","url":"https://api.github.com/users/BaerMitUmlaut","html_url":"https://github.com/BaerMitUmlaut","followers_url":"https://api.github.com/users/BaerMitUmlaut/followers","following_url":"https://api.github.com/users/BaerMitUmlaut/following{/other_user}","gists_url":"https://api.github.com/users/BaerMitUmlaut/gists{/gist_id}","starred_url":"https://api.github.com/users/BaerMitUmlaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaerMitUmlaut/subscriptions","organizations_url":"https://api.github.com/users/BaerMitUmlaut/orgs","repos_url":"https://api.github.com/users/BaerMitUmlaut/repos","events_url":"https://api.github.com/users/BaerMitUmlaut/events{/privacy}","received_events_url":"https://api.github.com/users/BaerMitUmlaut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-31T20:39:54Z","updated_at":"2016-05-31T22:25:59Z","closed_at":null,"body":"Not sure if this the correct repository to create the issue at, but we noticed some inconsistent SQF syntax highlighting today over @acemod.\r\n\r\nFor example, compare the `then`s in this file:\r\nhttps://github.com/alganthe/Co-ops/blob/dev_altis/functions/vehicle_handler/fn_vehiclePFH.sqf\r\nIn all lines but line 53, the `then` is black while it should be red. You can notice the same behavior in the example file of the [original PR that added SQF support](https://github.com/github/linguist/pull/1415/files)."},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/222840085","html_url":"https://github.com/github/linguist/issues/3031#issuecomment-222840085","issue_url":"https://api.github.com/repos/github/linguist/issues/3031","id":222840085,"user":{"login":"Alhadis","id":2346707,"avatar_url":"https://avatars.githubusercontent.com/u/2346707?v=3","gravatar_id":"","url":"https://api.github.com/users/Alhadis","html_url":"https://github.com/Alhadis","followers_url":"https://api.github.com/users/Alhadis/followers","following_url":"https://api.github.com/users/Alhadis/following{/other_user}","gists_url":"https://api.github.com/users/Alhadis/gists{/gist_id}","starred_url":"https://api.github.com/users/Alhadis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alhadis/subscriptions","organizations_url":"https://api.github.com/users/Alhadis/orgs","repos_url":"https://api.github.com/users/Alhadis/repos","events_url":"https://api.github.com/users/Alhadis/events{/privacy}","received_events_url":"https://api.github.com/users/Alhadis/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T22:25:59Z","updated_at":"2016-05-31T22:25:59Z","body":"Already spotted one mistake in the grammar:\r\n```\r\ninvoke|nil|not|or|pi|preprocessFile|private|private1|private2|private3|private4|private5|private6|private7|private8|private9|spawn|step|switch|then|this|throw|to|true|try|while|with|)\\b</string>\r\n```\r\nRight at the very end, there:\r\n```\r\nwith|)\\b</string>\r\n```\r\nThe stray `|` is saying \"Yeah, apply this rule anyway, even if nothing matches\"."}}
{"actor":{"display_login":"Alhadis"}}