{"action":"closed","issue":{"url":"https://api.github.com/repos/roxma/SimpleAutoComplPop/issues/8","repository_url":"https://api.github.com/repos/roxma/SimpleAutoComplPop","labels_url":"https://api.github.com/repos/roxma/SimpleAutoComplPop/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/roxma/SimpleAutoComplPop/issues/8/comments","events_url":"https://api.github.com/repos/roxma/SimpleAutoComplPop/issues/8/events","html_url":"https://github.com/roxma/SimpleAutoComplPop/issues/8","id":172696747,"number":8,"title":"Breaks auto-pairs new line behaviour in Go files","user":{"login":"achilleas-k","id":2369197,"avatar_url":"https://avatars.githubusercontent.com/u/2369197?v=3","gravatar_id":"","url":"https://api.github.com/users/achilleas-k","html_url":"https://github.com/achilleas-k","followers_url":"https://api.github.com/users/achilleas-k/followers","following_url":"https://api.github.com/users/achilleas-k/following{/other_user}","gists_url":"https://api.github.com/users/achilleas-k/gists{/gist_id}","starred_url":"https://api.github.com/users/achilleas-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achilleas-k/subscriptions","organizations_url":"https://api.github.com/users/achilleas-k/orgs","repos_url":"https://api.github.com/users/achilleas-k/repos","events_url":"https://api.github.com/users/achilleas-k/events{/privacy}","received_events_url":"https://api.github.com/users/achilleas-k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-23T13:19:22Z","updated_at":"2016-08-23T15:13:42Z","closed_at":"2016-08-23T15:13:42Z","body":"I have already reported this as [issue 149](https://github.com/jiangmiao/auto-pairs/issues/149) in auto-pairs, but after trying to find a minimum working example, I have narrowed it down to an interaction between auto-pairs and SACP.\r\n\r\n### Actual behavior\r\nWhen working with go files, after the first write, the new line behaviour of auto-pairs breaks.\r\nThe intended behaviour:\r\n```\r\ninput: {|} (press <CR> at |)\r\noutput: {\r\n    |\r\n}\r\n```\r\nworks fine at first. Once the file is saved, the next time the same input is given, the behaviour changes to:\r\n```\r\ninput: {|} (press <CR> at |)\r\noutput: {\r\n|}\r\n```\r\n\r\nTo reproduce, simply install SACP, vim-go, and auto-pairs and test the behaviour described above. I am able to reproduce this by just having the three plugins enabled and no other settings in vimrc or any other ftplugin file.\r\n\r\nDisabling gofmt on write in works around the issue. I have no idea how the three interact and which plugin is responsible for the issue."}}
{"actor":{"display_login":"achilleas-k"}}