{"action":"created","issue":{"url":"https://api.github.com/repos/mawww/kakoune/issues/732","repository_url":"https://api.github.com/repos/mawww/kakoune","labels_url":"https://api.github.com/repos/mawww/kakoune/issues/732/labels{/name}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/732/comments","events_url":"https://api.github.com/repos/mawww/kakoune/issues/732/events","html_url":"https://github.com/mawww/kakoune/pull/732","id":165094714,"number":732,"title":"[WIP] C-family hooks split and improved","user":{"login":"lenormf","id":1379068,"avatar_url":"https://avatars.githubusercontent.com/u/1379068?v=3","gravatar_id":"","url":"https://api.github.com/users/lenormf","html_url":"https://github.com/lenormf","followers_url":"https://api.github.com/users/lenormf/followers","following_url":"https://api.github.com/users/lenormf/following{/other_user}","gists_url":"https://api.github.com/users/lenormf/gists{/gist_id}","starred_url":"https://api.github.com/users/lenormf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenormf/subscriptions","organizations_url":"https://api.github.com/users/lenormf/orgs","repos_url":"https://api.github.com/users/lenormf/repos","events_url":"https://api.github.com/users/lenormf/events{/privacy}","received_events_url":"https://api.github.com/users/lenormf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-12T14:30:09Z","updated_at":"2016-08-03T05:56:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mawww/kakoune/pulls/732","html_url":"https://github.com/mawww/kakoune/pull/732","diff_url":"https://github.com/mawww/kakoune/pull/732.diff","patch_url":"https://github.com/mawww/kakoune/pull/732.patch"},"body":"Hi,\r\n\r\nI haven't really extensively used this patch, hence the WIP tag. The PR implements several features that were discussed on IRC, and fixes a few issues that I kept stumbling upon regularly.\r\n\r\n* it's now possible to only use indenting hooks and disactivate the ones that insert things in the buffer (e.g. semi-colons)\r\n* simplify a few patterns, such as indenting after certain keywords\r\n* don't remove all the trailing whitespace in the buffer, only remove those that were added by the indenting hook\r\n* proper comment supports: automatically close a multiline comment when the return key is hit twice, copy the commenting prefix used on the previous line etc\r\n\r\nLike I said, I haven't tested it much, but if someone wants to give it a try until I do, please do.\r\n\r\nCheers."},"comment":{"url":"https://api.github.com/repos/mawww/kakoune/issues/comments/237149075","html_url":"https://github.com/mawww/kakoune/pull/732#issuecomment-237149075","issue_url":"https://api.github.com/repos/mawww/kakoune/issues/732","id":237149075,"user":{"login":"lenormf","id":1379068,"avatar_url":"https://avatars.githubusercontent.com/u/1379068?v=3","gravatar_id":"","url":"https://api.github.com/users/lenormf","html_url":"https://github.com/lenormf","followers_url":"https://api.github.com/users/lenormf/followers","following_url":"https://api.github.com/users/lenormf/following{/other_user}","gists_url":"https://api.github.com/users/lenormf/gists{/gist_id}","starred_url":"https://api.github.com/users/lenormf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenormf/subscriptions","organizations_url":"https://api.github.com/users/lenormf/orgs","repos_url":"https://api.github.com/users/lenormf/repos","events_url":"https://api.github.com/users/lenormf/events{/privacy}","received_events_url":"https://api.github.com/users/lenormf/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T05:56:05Z","updated_at":"2016-08-03T05:56:05Z","body":"It's supported by default, the characters are already set in `commenting.kak`."}}
{"actor":{"display_login":"lenormf"}}