{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/2394","labels_url":"https://api.github.com/repos/github/linguist/issues/2394/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/2394/comments","events_url":"https://api.github.com/repos/github/linguist/issues/2394/events","html_url":"https://github.com/github/linguist/pull/2394","id":75751288,"number":2394,"title":"Improving Vim modeline regex","user":{"login":"arfon","id":4483,"avatar_url":"https://avatars.githubusercontent.com/u/4483?v=3","gravatar_id":"","url":"https://api.github.com/users/arfon","html_url":"https://github.com/arfon","followers_url":"https://api.github.com/users/arfon/followers","following_url":"https://api.github.com/users/arfon/following{/other_user}","gists_url":"https://api.github.com/users/arfon/gists{/gist_id}","starred_url":"https://api.github.com/users/arfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfon/subscriptions","organizations_url":"https://api.github.com/users/arfon/orgs","repos_url":"https://api.github.com/users/arfon/repos","events_url":"https://api.github.com/users/arfon/events{/privacy}","received_events_url":"https://api.github.com/users/arfon/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-12T21:49:40Z","updated_at":"2015-05-13T14:02:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/github/linguist/pulls/2394","html_url":"https://github.com/github/linguist/pull/2394","diff_url":"https://github.com/github/linguist/pull/2394.diff","patch_url":"https://github.com/github/linguist/pull/2394.patch"},"body":"Fixes #2389 "},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/101673536","html_url":"https://github.com/github/linguist/pull/2394#issuecomment-101673536","issue_url":"https://api.github.com/repos/github/linguist/issues/2394","id":101673536,"user":{"login":"arfon","id":4483,"avatar_url":"https://avatars.githubusercontent.com/u/4483?v=3","gravatar_id":"","url":"https://api.github.com/users/arfon","html_url":"https://github.com/arfon","followers_url":"https://api.github.com/users/arfon/followers","following_url":"https://api.github.com/users/arfon/following{/other_user}","gists_url":"https://api.github.com/users/arfon/gists{/gist_id}","starred_url":"https://api.github.com/users/arfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfon/subscriptions","organizations_url":"https://api.github.com/users/arfon/orgs","repos_url":"https://api.github.com/users/arfon/repos","events_url":"https://api.github.com/users/arfon/events{/privacy}","received_events_url":"https://api.github.com/users/arfon/received_events","type":"User","site_admin":true},"created_at":"2015-05-13T14:02:52Z","updated_at":"2015-05-13T14:02:52Z","body":"> On the same subject, do we check the whole file for modelines? Could we limit it to the first 20-30 lines (in case there's a header in comments)?\r\n\r\nWe check the whole file because there's a subset of people/editors? that add these to the bottom of files :-\\"}}