{"action":"created","issue":{"url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/issues/71","repository_url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent","labels_url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/issues/71/comments","events_url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/issues/71/events","html_url":"https://github.com/Vimjas/vim-python-pep8-indent/pull/71","id":213349747,"node_id":"MDExOlB1bGxSZXF1ZXN0MTEwMTM0NTEw","number":71,"title":"Bug fix with unmatched pair in string on previous line","user":{"login":"purpleP","id":6205841,"node_id":"MDQ6VXNlcjYyMDU4NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/6205841?v=4","gravatar_id":"","url":"https://api.github.com/users/purpleP","html_url":"https://github.com/purpleP","followers_url":"https://api.github.com/users/purpleP/followers","following_url":"https://api.github.com/users/purpleP/following{/other_user}","gists_url":"https://api.github.com/users/purpleP/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleP/subscriptions","organizations_url":"https://api.github.com/users/purpleP/orgs","repos_url":"https://api.github.com/users/purpleP/repos","events_url":"https://api.github.com/users/purpleP/events{/privacy}","received_events_url":"https://api.github.com/users/purpleP/received_events","type":"User","site_admin":false},"labels":[{"id":7837291,"node_id":"MDU6TGFiZWw3ODM3Mjkx","url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/labels/bug","name":"bug","color":"fc2929","default":true},{"id":994499417,"node_id":"MDU6TGFiZWw5OTQ0OTk0MTc=","url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/labels/needs-test","name":"needs-test","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-03-10T14:07:33Z","updated_at":"2018-07-17T20:02:42Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/pulls/71","html_url":"https://github.com/Vimjas/vim-python-pep8-indent/pull/71","diff_url":"https://github.com/Vimjas/vim-python-pep8-indent/pull/71.diff","patch_url":"https://github.com/Vimjas/vim-python-pep8-indent/pull/71.patch"},"body":"line with unmatched paren/bracket etc\r\n\r\n```\r\nreg = b'\\\\x1b\\\\[(\\\\d+;\\\\d+)m'\r\nm = re.match(reg, start)\r\n```\r\npreviously this would treat `[` on a previous line as a bracket that would be used to align the text on the next line as if this bracket should have a matched bracket. And would result in something like this.\r\n\r\n```\r\nreg = b'\\\\x1b\\\\[(\\\\d+;\\\\d+)m'\r\n                          m = re.match(reg, start)\r\n```\r\n\r\nBy the way, I've looked at the code and it's kinda awfull. Like instead of just finding parens with iteration it uses recursion and jumps over the file instead of using buffer indexing. Maybe this can be changed into using python ast module and define some rules about matching. You know, python indenting in python, instead of vimscript, seems more natural to me."},"comment":{"url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/issues/comments/405709611","html_url":"https://github.com/Vimjas/vim-python-pep8-indent/pull/71#issuecomment-405709611","issue_url":"https://api.github.com/repos/Vimjas/vim-python-pep8-indent/issues/71","id":405709611,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTcwOTYxMQ==","user":{"login":"purpleP","id":6205841,"node_id":"MDQ6VXNlcjYyMDU4NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/6205841?v=4","gravatar_id":"","url":"https://api.github.com/users/purpleP","html_url":"https://github.com/purpleP","followers_url":"https://api.github.com/users/purpleP/followers","following_url":"https://api.github.com/users/purpleP/following{/other_user}","gists_url":"https://api.github.com/users/purpleP/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleP/subscriptions","organizations_url":"https://api.github.com/users/purpleP/orgs","repos_url":"https://api.github.com/users/purpleP/repos","events_url":"https://api.github.com/users/purpleP/events{/privacy}","received_events_url":"https://api.github.com/users/purpleP/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T20:02:42Z","updated_at":"2018-07-17T20:02:42Z","author_association":"NONE","body":"@blueyed Yes, I use custom syntax file where `pythonBytes` highlight group exists. Yes, it's still an issue."}}
{"actor":{"display_login":"purpleP"}}