{"action":"created","comment":{"url":"https://api.github.com/repos/neovim/neovim/pulls/comments/238003689","pull_request_review_id":180451084,"id":238003689,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODAwMzY4OQ==","diff_hunk":"@@ -0,0 +1,12 @@\n+-- Lua 5.1 forward-compatibility layer.\n+-- For background see https://github.com/neovim/neovim/pull/9280\n+--\n+-- Reference the lua-compat-5.2 project for hints:\n+--    https://github.com/keplerproject/lua-compat-5.2/blob/c164c8f339b95451b572d6b4b4d11e944dc7169d/compat52/mstrict.lua\n+--    https://github.com/keplerproject/lua-compat-5.2/blob/c164c8f339b95451b572d6b4b4d11e944dc7169d/tests/test.lua\n+\n+local lua_version = _VERSION:sub(-3)\n+\n+if lua_version >= \"5.2\" then","path":"runtime/lua/vim/compat.lua","position":10,"original_position":10,"commit_id":"102a1339f6ad9fe7fc19216cb6c109d50a6a1b29","original_commit_id":"102a1339f6ad9fe7fc19216cb6c109d50a6a1b29","user":{"login":"mcepl","id":198999,"node_id":"MDQ6VXNlcjE5ODk5OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/198999?v=4","gravatar_id":"","url":"https://api.github.com/users/mcepl","html_url":"https://github.com/mcepl","followers_url":"https://api.github.com/users/mcepl/followers","following_url":"https://api.github.com/users/mcepl/following{/other_user}","gists_url":"https://api.github.com/users/mcepl/gists{/gist_id}","starred_url":"https://api.github.com/users/mcepl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcepl/subscriptions","organizations_url":"https://api.github.com/users/mcepl/orgs","repos_url":"https://api.github.com/users/mcepl/repos","events_url":"https://api.github.com/users/mcepl/events{/privacy}","received_events_url":"https://api.github.com/users/mcepl/received_events","type":"User","site_admin":false},"body":"Yes, that's what I meant. Thank you.","created_at":"2018-11-30T21:12:40Z","updated_at":"2018-11-30T21:12:40Z","html_url":"https://github.com/neovim/neovim/pull/9280#discussion_r238003689","pull_request_url":"https://api.github.com/repos/neovim/neovim/pulls/9280","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments/238003689"},"html":{"href":"https://github.com/neovim/neovim/pull/9280#discussion_r238003689"},"pull_request":{"href":"https://api.github.com/repos/neovim/neovim/pulls/9280"}},"in_reply_to_id":237995544},"pull_request":{"url":"https://api.github.com/repos/neovim/neovim/pulls/9280","id":233956170,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzOTU2MTcw","html_url":"https://github.com/neovim/neovim/pull/9280","diff_url":"https://github.com/neovim/neovim/pull/9280.diff","patch_url":"https://github.com/neovim/neovim/pull/9280.patch","issue_url":"https://api.github.com/repos/neovim/neovim/issues/9280","number":9280,"state":"open","locked":false,"title":"Lua 5.2+ compatbility","user":{"login":"mcepl","id":198999,"node_id":"MDQ6VXNlcjE5ODk5OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/198999?v=4","gravatar_id":"","url":"https://api.github.com/users/mcepl","html_url":"https://github.com/mcepl","followers_url":"https://api.github.com/users/mcepl/followers","following_url":"https://api.github.com/users/mcepl/following{/other_user}","gists_url":"https://api.github.com/users/mcepl/gists{/gist_id}","starred_url":"https://api.github.com/users/mcepl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcepl/subscriptions","organizations_url":"https://api.github.com/users/mcepl/orgs","repos_url":"https://api.github.com/users/mcepl/repos","events_url":"https://api.github.com/users/mcepl/events{/privacy}","received_events_url":"https://api.github.com/users/mcepl/received_events","type":"User","site_admin":false},"body":"This is compatibility layer, which makes the code run both on Lua 5.1 (which is the default for Neovim, and it is what LuaJIT provides) and Lua 5.2+.\r\n\r\nAs mentioned in https://github.com/neovim/neovim/issues/7879#issuecomment-441732865","created_at":"2018-11-27T15:33:14Z","updated_at":"2018-11-30T21:12:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2cfe0b93ccbdd5b89457e9b47feaaa140a26c53","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neovim/neovim/pulls/9280/commits","review_comments_url":"https://api.github.com/repos/neovim/neovim/pulls/9280/comments","review_comment_url":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/9280/comments","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/102a1339f6ad9fe7fc19216cb6c109d50a6a1b29","head":{"label":"mcepl:lua_53_compatibility","ref":"lua_53_compatibility","sha":"102a1339f6ad9fe7fc19216cb6c109d50a6a1b29","user":{"login":"mcepl","id":198999,"node_id":"MDQ6VXNlcjE5ODk5OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/198999?v=4","gravatar_id":"","url":"https://api.github.com/users/mcepl","html_url":"https://github.com/mcepl","followers_url":"https://api.github.com/users/mcepl/followers","following_url":"https://api.github.com/users/mcepl/following{/other_user}","gists_url":"https://api.github.com/users/mcepl/gists{/gist_id}","starred_url":"https://api.github.com/users/mcepl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcepl/subscriptions","organizations_url":"https://api.github.com/users/mcepl/orgs","repos_url":"https://api.github.com/users/mcepl/repos","events_url":"https://api.github.com/users/mcepl/events{/privacy}","received_events_url":"https://api.github.com/users/mcepl/received_events","type":"User","site_admin":false},"repo":{"id":150975789,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA5NzU3ODk=","name":"neovim","full_name":"mcepl/neovim","private":false,"owner":{"login":"mcepl","id":198999,"node_id":"MDQ6VXNlcjE5ODk5OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/198999?v=4","gravatar_id":"","url":"https://api.github.com/users/mcepl","html_url":"https://github.com/mcepl","followers_url":"https://api.github.com/users/mcepl/followers","following_url":"https://api.github.com/users/mcepl/following{/other_user}","gists_url":"https://api.github.com/users/mcepl/gists{/gist_id}","starred_url":"https://api.github.com/users/mcepl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcepl/subscriptions","organizations_url":"https://api.github.com/users/mcepl/orgs","repos_url":"https://api.github.com/users/mcepl/repos","events_url":"https://api.github.com/users/mcepl/events{/privacy}","received_events_url":"https://api.github.com/users/mcepl/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mcepl/neovim","description":"Vim-fork focused on extensibility and usability","fork":true,"url":"https://api.github.com/repos/mcepl/neovim","forks_url":"https://api.github.com/repos/mcepl/neovim/forks","keys_url":"https://api.github.com/repos/mcepl/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcepl/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcepl/neovim/teams","hooks_url":"https://api.github.com/repos/mcepl/neovim/hooks","issue_events_url":"https://api.github.com/repos/mcepl/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/mcepl/neovim/events","assignees_url":"https://api.github.com/repos/mcepl/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/mcepl/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/mcepl/neovim/tags","blobs_url":"https://api.github.com/repos/mcepl/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcepl/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcepl/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcepl/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcepl/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/mcepl/neovim/languages","stargazers_url":"https://api.github.com/repos/mcepl/neovim/stargazers","contributors_url":"https://api.github.com/repos/mcepl/neovim/contributors","subscribers_url":"https://api.github.com/repos/mcepl/neovim/subscribers","subscription_url":"https://api.github.com/repos/mcepl/neovim/subscription","commits_url":"https://api.github.com/repos/mcepl/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcepl/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcepl/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcepl/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcepl/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/mcepl/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcepl/neovim/merges","archive_url":"https://api.github.com/repos/mcepl/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcepl/neovim/downloads","issues_url":"https://api.github.com/repos/mcepl/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/mcepl/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/mcepl/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/mcepl/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcepl/neovim/labels{/name}","releases_url":"https://api.github.com/repos/mcepl/neovim/releases{/id}","deployments_url":"https://api.github.com/repos/mcepl/neovim/deployments","created_at":"2018-09-30T14:46:02Z","updated_at":"2018-11-27T15:26:47Z","pushed_at":"2018-11-30T20:37:42Z","git_url":"git://github.com/mcepl/neovim.git","ssh_url":"git@github.com:mcepl/neovim.git","clone_url":"https://github.com/mcepl/neovim.git","svn_url":"https://github.com/mcepl/neovim","homepage":"https://salt.bountysource.com/teams/neovim","size":77013,"stargazers_count":0,"watchers_count":0,"language":"Vim script","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neovim:master","ref":"master","sha":"32a30d90b460048a43490a16d2e006d0e39b0e38","user":{"login":"neovim","id":6471485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzE0ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6471485?v=4","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"repo":{"id":16408992,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQwODk5Mg==","name":"neovim","full_name":"neovim/neovim","private":false,"owner":{"login":"neovim","id":6471485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0NzE0ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6471485?v=4","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/neovim/neovim","description":"Vim-fork focused on extensibility and usability","fork":false,"url":"https://api.github.com/repos/neovim/neovim","forks_url":"https://api.github.com/repos/neovim/neovim/forks","keys_url":"https://api.github.com/repos/neovim/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neovim/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neovim/neovim/teams","hooks_url":"https://api.github.com/repos/neovim/neovim/hooks","issue_events_url":"https://api.github.com/repos/neovim/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/neovim/neovim/events","assignees_url":"https://api.github.com/repos/neovim/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/neovim/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/neovim/neovim/tags","blobs_url":"https://api.github.com/repos/neovim/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neovim/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neovim/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/neovim/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/neovim/neovim/languages","stargazers_url":"https://api.github.com/repos/neovim/neovim/stargazers","contributors_url":"https://api.github.com/repos/neovim/neovim/contributors","subscribers_url":"https://api.github.com/repos/neovim/neovim/subscribers","subscription_url":"https://api.github.com/repos/neovim/neovim/subscription","commits_url":"https://api.github.com/repos/neovim/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/neovim/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/neovim/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/neovim/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/neovim/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/neovim/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neovim/neovim/merges","archive_url":"https://api.github.com/repos/neovim/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neovim/neovim/downloads","issues_url":"https://api.github.com/repos/neovim/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/neovim/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/neovim/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/neovim/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neovim/neovim/labels{/name}","releases_url":"https://api.github.com/repos/neovim/neovim/releases{/id}","deployments_url":"https://api.github.com/repos/neovim/neovim/deployments","created_at":"2014-01-31T13:39:22Z","updated_at":"2018-11-30T20:42:01Z","pushed_at":"2018-11-30T21:11:32Z","git_url":"git://github.com/neovim/neovim.git","ssh_url":"git@github.com:neovim/neovim.git","clone_url":"https://github.com/neovim/neovim.git","svn_url":"https://github.com/neovim/neovim","homepage":"https://salt.bountysource.com/teams/neovim","size":76941,"stargazers_count":29220,"watchers_count":29220,"language":"Vim script","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2125,"mirror_url":null,"archived":false,"open_issues_count":903,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2125,"open_issues":903,"watchers":29220,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/9280"},"html":{"href":"https://github.com/neovim/neovim/pull/9280"},"issue":{"href":"https://api.github.com/repos/neovim/neovim/issues/9280"},"comments":{"href":"https://api.github.com/repos/neovim/neovim/issues/9280/comments"},"review_comments":{"href":"https://api.github.com/repos/neovim/neovim/pulls/9280/comments"},"review_comment":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neovim/neovim/pulls/9280/commits"},"statuses":{"href":"https://api.github.com/repos/neovim/neovim/statuses/102a1339f6ad9fe7fc19216cb6c109d50a6a1b29"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mcepl"}}