{"action":"opened","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/1089","repository_url":"https://api.github.com/repos/flycheck/flycheck","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/1089/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/1089/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/1089/events","html_url":"https://github.com/flycheck/flycheck/issues/1089","id":176863489,"number":1089,"title":"Add :enabled property to syntax checkers","user":{"login":"lunaryorn","id":224922,"avatar_url":"https://avatars.githubusercontent.com/u/224922?v=3","gravatar_id":"","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-14T09:51:12Z","updated_at":"2016-09-14T09:51:12Z","closed_at":null,"body":"Add a new `:enabled FUNCTION` property to syntax checkers which behaves like `:predicate` except that it's only called the first time a syntax checker is to be used in a buffer.  If the function returns a non-nil value the checker is put in a whitelist (i.e. a buffer-local variable) to prevent further invocations of `:enabled`, and if it returns nil it's put into `flycheck-disabled-checkers` to prevent any further use of it.\r\n\r\nThis function would allow for more expensive checks whether a syntax checker is available.\r\n\r\nFollow up of a [Gitter discussion](https://gitter.im/flycheck/flycheck?at=57d9193da0e8dbb04f377d6a) and #1085."}}
{"actor":{"display_login":"lunaryorn"}}