{"action":"closed","number":1523,"pull_request":{"url":"https://api.github.com/repos/mawww/kakoune/pulls/1523","id":133447549,"html_url":"https://github.com/mawww/kakoune/pull/1523","diff_url":"https://github.com/mawww/kakoune/pull/1523.diff","patch_url":"https://github.com/mawww/kakoune/pull/1523.patch","issue_url":"https://api.github.com/repos/mawww/kakoune/issues/1523","number":1523,"state":"closed","locked":false,"title":"Markdown indent fixes","user":{"login":"Screwtapello","id":1450918,"avatar_url":"https://avatars1.githubusercontent.com/u/1450918?v=4","gravatar_id":"","url":"https://api.github.com/users/Screwtapello","html_url":"https://github.com/Screwtapello","followers_url":"https://api.github.com/users/Screwtapello/followers","following_url":"https://api.github.com/users/Screwtapello/following{/other_user}","gists_url":"https://api.github.com/users/Screwtapello/gists{/gist_id}","starred_url":"https://api.github.com/users/Screwtapello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Screwtapello/subscriptions","organizations_url":"https://api.github.com/users/Screwtapello/orgs","repos_url":"https://api.github.com/users/Screwtapello/repos","events_url":"https://api.github.com/users/Screwtapello/events{/privacy}","received_events_url":"https://api.github.com/users/Screwtapello/received_events","type":"User","site_admin":false},"body":"When I write Markdown documents, I tend to use \"Setext\" header syntax, like this:\r\n\r\n    Some Header\r\n    -----------\r\n\r\nWhen I put the cursor on the line of `-` and press `o` to start adding new text underneath the header, the current version of Kakoune assumes that all those `-` are list bullets, and so copies them to the next line:\r\n\r\n    Some Header\r\n    -----------\r\n    -----------\r\n\r\n...which isn't actually what I wanted.\r\n\r\nThis PR includes:\r\n\r\n  - a commit that adds some more test-cases for adding newlines to Markdown documents (which I wrote to make sure I didn't regress anything)\r\n  - a commit that adds test-cases like the example above, plus a change to `markdown.kak` that makes the tests pass\r\n  - the required copyright waiver","created_at":"2017-08-01T11:14:31Z","updated_at":"2017-08-01T17:30:24Z","closed_at":"2017-08-01T17:30:24Z","merged_at":"2017-08-01T17:30:24Z","merge_commit_sha":"46ff90097f795edd5ef551c354bd42c22b20978d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mawww/kakoune/pulls/1523/commits","review_comments_url":"https://api.github.com/repos/mawww/kakoune/pulls/1523/comments","review_comment_url":"https://api.github.com/repos/mawww/kakoune/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/1523/comments","statuses_url":"https://api.github.com/repos/mawww/kakoune/statuses/46ff90097f795edd5ef551c354bd42c22b20978d","head":{"label":"Screwtapello:markdown-indent-fixes","ref":"markdown-indent-fixes","sha":"46ff90097f795edd5ef551c354bd42c22b20978d","user":{"login":"Screwtapello","id":1450918,"avatar_url":"https://avatars1.githubusercontent.com/u/1450918?v=4","gravatar_id":"","url":"https://api.github.com/users/Screwtapello","html_url":"https://github.com/Screwtapello","followers_url":"https://api.github.com/users/Screwtapello/followers","following_url":"https://api.github.com/users/Screwtapello/following{/other_user}","gists_url":"https://api.github.com/users/Screwtapello/gists{/gist_id}","starred_url":"https://api.github.com/users/Screwtapello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Screwtapello/subscriptions","organizations_url":"https://api.github.com/users/Screwtapello/orgs","repos_url":"https://api.github.com/users/Screwtapello/repos","events_url":"https://api.github.com/users/Screwtapello/events{/privacy}","received_events_url":"https://api.github.com/users/Screwtapello/received_events","type":"User","site_admin":false},"repo":{"id":98992241,"name":"kakoune","full_name":"Screwtapello/kakoune","owner":{"login":"Screwtapello","id":1450918,"avatar_url":"https://avatars1.githubusercontent.com/u/1450918?v=4","gravatar_id":"","url":"https://api.github.com/users/Screwtapello","html_url":"https://github.com/Screwtapello","followers_url":"https://api.github.com/users/Screwtapello/followers","following_url":"https://api.github.com/users/Screwtapello/following{/other_user}","gists_url":"https://api.github.com/users/Screwtapello/gists{/gist_id}","starred_url":"https://api.github.com/users/Screwtapello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Screwtapello/subscriptions","organizations_url":"https://api.github.com/users/Screwtapello/orgs","repos_url":"https://api.github.com/users/Screwtapello/repos","events_url":"https://api.github.com/users/Screwtapello/events{/privacy}","received_events_url":"https://api.github.com/users/Screwtapello/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Screwtapello/kakoune","description":"mawww's experiment for a better code editor","fork":true,"url":"https://api.github.com/repos/Screwtapello/kakoune","forks_url":"https://api.github.com/repos/Screwtapello/kakoune/forks","keys_url":"https://api.github.com/repos/Screwtapello/kakoune/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Screwtapello/kakoune/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Screwtapello/kakoune/teams","hooks_url":"https://api.github.com/repos/Screwtapello/kakoune/hooks","issue_events_url":"https://api.github.com/repos/Screwtapello/kakoune/issues/events{/number}","events_url":"https://api.github.com/repos/Screwtapello/kakoune/events","assignees_url":"https://api.github.com/repos/Screwtapello/kakoune/assignees{/user}","branches_url":"https://api.github.com/repos/Screwtapello/kakoune/branches{/branch}","tags_url":"https://api.github.com/repos/Screwtapello/kakoune/tags","blobs_url":"https://api.github.com/repos/Screwtapello/kakoune/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Screwtapello/kakoune/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Screwtapello/kakoune/git/refs{/sha}","trees_url":"https://api.github.com/repos/Screwtapello/kakoune/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Screwtapello/kakoune/statuses/{sha}","languages_url":"https://api.github.com/repos/Screwtapello/kakoune/languages","stargazers_url":"https://api.github.com/repos/Screwtapello/kakoune/stargazers","contributors_url":"https://api.github.com/repos/Screwtapello/kakoune/contributors","subscribers_url":"https://api.github.com/repos/Screwtapello/kakoune/subscribers","subscription_url":"https://api.github.com/repos/Screwtapello/kakoune/subscription","commits_url":"https://api.github.com/repos/Screwtapello/kakoune/commits{/sha}","git_commits_url":"https://api.github.com/repos/Screwtapello/kakoune/git/commits{/sha}","comments_url":"https://api.github.com/repos/Screwtapello/kakoune/comments{/number}","issue_comment_url":"https://api.github.com/repos/Screwtapello/kakoune/issues/comments{/number}","contents_url":"https://api.github.com/repos/Screwtapello/kakoune/contents/{+path}","compare_url":"https://api.github.com/repos/Screwtapello/kakoune/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Screwtapello/kakoune/merges","archive_url":"https://api.github.com/repos/Screwtapello/kakoune/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Screwtapello/kakoune/downloads","issues_url":"https://api.github.com/repos/Screwtapello/kakoune/issues{/number}","pulls_url":"https://api.github.com/repos/Screwtapello/kakoune/pulls{/number}","milestones_url":"https://api.github.com/repos/Screwtapello/kakoune/milestones{/number}","notifications_url":"https://api.github.com/repos/Screwtapello/kakoune/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Screwtapello/kakoune/labels{/name}","releases_url":"https://api.github.com/repos/Screwtapello/kakoune/releases{/id}","deployments_url":"https://api.github.com/repos/Screwtapello/kakoune/deployments","created_at":"2017-08-01T11:06:37Z","updated_at":"2017-08-01T11:06:39Z","pushed_at":"2017-08-01T11:08:21Z","git_url":"git://github.com/Screwtapello/kakoune.git","ssh_url":"git@github.com:Screwtapello/kakoune.git","clone_url":"https://github.com/Screwtapello/kakoune.git","svn_url":"https://github.com/Screwtapello/kakoune","homepage":"","size":31738,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mawww:master","ref":"master","sha":"bb9dd14a09f582ad48426d08d4b49d7047ba474c","user":{"login":"mawww","id":51221,"avatar_url":"https://avatars1.githubusercontent.com/u/51221?v=4","gravatar_id":"","url":"https://api.github.com/users/mawww","html_url":"https://github.com/mawww","followers_url":"https://api.github.com/users/mawww/followers","following_url":"https://api.github.com/users/mawww/following{/other_user}","gists_url":"https://api.github.com/users/mawww/gists{/gist_id}","starred_url":"https://api.github.com/users/mawww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawww/subscriptions","organizations_url":"https://api.github.com/users/mawww/orgs","repos_url":"https://api.github.com/users/mawww/repos","events_url":"https://api.github.com/users/mawww/events{/privacy}","received_events_url":"https://api.github.com/users/mawww/received_events","type":"User","site_admin":false},"repo":{"id":2701888,"name":"kakoune","full_name":"mawww/kakoune","owner":{"login":"mawww","id":51221,"avatar_url":"https://avatars1.githubusercontent.com/u/51221?v=4","gravatar_id":"","url":"https://api.github.com/users/mawww","html_url":"https://github.com/mawww","followers_url":"https://api.github.com/users/mawww/followers","following_url":"https://api.github.com/users/mawww/following{/other_user}","gists_url":"https://api.github.com/users/mawww/gists{/gist_id}","starred_url":"https://api.github.com/users/mawww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawww/subscriptions","organizations_url":"https://api.github.com/users/mawww/orgs","repos_url":"https://api.github.com/users/mawww/repos","events_url":"https://api.github.com/users/mawww/events{/privacy}","received_events_url":"https://api.github.com/users/mawww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mawww/kakoune","description":"mawww's experiment for a better code editor","fork":false,"url":"https://api.github.com/repos/mawww/kakoune","forks_url":"https://api.github.com/repos/mawww/kakoune/forks","keys_url":"https://api.github.com/repos/mawww/kakoune/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mawww/kakoune/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mawww/kakoune/teams","hooks_url":"https://api.github.com/repos/mawww/kakoune/hooks","issue_events_url":"https://api.github.com/repos/mawww/kakoune/issues/events{/number}","events_url":"https://api.github.com/repos/mawww/kakoune/events","assignees_url":"https://api.github.com/repos/mawww/kakoune/assignees{/user}","branches_url":"https://api.github.com/repos/mawww/kakoune/branches{/branch}","tags_url":"https://api.github.com/repos/mawww/kakoune/tags","blobs_url":"https://api.github.com/repos/mawww/kakoune/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mawww/kakoune/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mawww/kakoune/git/refs{/sha}","trees_url":"https://api.github.com/repos/mawww/kakoune/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mawww/kakoune/statuses/{sha}","languages_url":"https://api.github.com/repos/mawww/kakoune/languages","stargazers_url":"https://api.github.com/repos/mawww/kakoune/stargazers","contributors_url":"https://api.github.com/repos/mawww/kakoune/contributors","subscribers_url":"https://api.github.com/repos/mawww/kakoune/subscribers","subscription_url":"https://api.github.com/repos/mawww/kakoune/subscription","commits_url":"https://api.github.com/repos/mawww/kakoune/commits{/sha}","git_commits_url":"https://api.github.com/repos/mawww/kakoune/git/commits{/sha}","comments_url":"https://api.github.com/repos/mawww/kakoune/comments{/number}","issue_comment_url":"https://api.github.com/repos/mawww/kakoune/issues/comments{/number}","contents_url":"https://api.github.com/repos/mawww/kakoune/contents/{+path}","compare_url":"https://api.github.com/repos/mawww/kakoune/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mawww/kakoune/merges","archive_url":"https://api.github.com/repos/mawww/kakoune/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mawww/kakoune/downloads","issues_url":"https://api.github.com/repos/mawww/kakoune/issues{/number}","pulls_url":"https://api.github.com/repos/mawww/kakoune/pulls{/number}","milestones_url":"https://api.github.com/repos/mawww/kakoune/milestones{/number}","notifications_url":"https://api.github.com/repos/mawww/kakoune/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mawww/kakoune/labels{/name}","releases_url":"https://api.github.com/repos/mawww/kakoune/releases{/id}","deployments_url":"https://api.github.com/repos/mawww/kakoune/deployments","created_at":"2011-11-03T12:43:55Z","updated_at":"2017-08-01T04:59:35Z","pushed_at":"2017-08-01T17:30:20Z","git_url":"git://github.com/mawww/kakoune.git","ssh_url":"git@github.com:mawww/kakoune.git","clone_url":"https://github.com/mawww/kakoune.git","svn_url":"https://github.com/mawww/kakoune","homepage":"","size":31738,"stargazers_count":2769,"watchers_count":2769,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":169,"mirror_url":null,"open_issues_count":154,"forks":169,"open_issues":154,"watchers":2769,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mawww/kakoune/pulls/1523"},"html":{"href":"https://github.com/mawww/kakoune/pull/1523"},"issue":{"href":"https://api.github.com/repos/mawww/kakoune/issues/1523"},"comments":{"href":"https://api.github.com/repos/mawww/kakoune/issues/1523/comments"},"review_comments":{"href":"https://api.github.com/repos/mawww/kakoune/pulls/1523/comments"},"review_comment":{"href":"https://api.github.com/repos/mawww/kakoune/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mawww/kakoune/pulls/1523/commits"},"statuses":{"href":"https://api.github.com/repos/mawww/kakoune/statuses/46ff90097f795edd5ef551c354bd42c22b20978d"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mawww","id":51221,"avatar_url":"https://avatars1.githubusercontent.com/u/51221?v=4","gravatar_id":"","url":"https://api.github.com/users/mawww","html_url":"https://github.com/mawww","followers_url":"https://api.github.com/users/mawww/followers","following_url":"https://api.github.com/users/mawww/following{/other_user}","gists_url":"https://api.github.com/users/mawww/gists{/gist_id}","starred_url":"https://api.github.com/users/mawww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawww/subscriptions","organizations_url":"https://api.github.com/users/mawww/orgs","repos_url":"https://api.github.com/users/mawww/repos","events_url":"https://api.github.com/users/mawww/events{/privacy}","received_events_url":"https://api.github.com/users/mawww/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":49,"deletions":1,"changed_files":25}}
{"actor":{"display_login":"mawww"}}