{"action":"closed","issue":{"url":"https://api.github.com/repos/ElmCast/elm-vim/issues/77","repository_url":"https://api.github.com/repos/ElmCast/elm-vim","labels_url":"https://api.github.com/repos/ElmCast/elm-vim/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/ElmCast/elm-vim/issues/77/comments","events_url":"https://api.github.com/repos/ElmCast/elm-vim/issues/77/events","html_url":"https://github.com/ElmCast/elm-vim/issues/77","id":177148227,"number":77,"title":"Error when :ElmFormat on Windows","user":{"login":"kuznero","id":449813,"avatar_url":"https://avatars.githubusercontent.com/u/449813?v=3","gravatar_id":"","url":"https://api.github.com/users/kuznero","html_url":"https://github.com/kuznero","followers_url":"https://api.github.com/users/kuznero/followers","following_url":"https://api.github.com/users/kuznero/following{/other_user}","gists_url":"https://api.github.com/users/kuznero/gists{/gist_id}","starred_url":"https://api.github.com/users/kuznero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuznero/subscriptions","organizations_url":"https://api.github.com/users/kuznero/orgs","repos_url":"https://api.github.com/users/kuznero/repos","events_url":"https://api.github.com/users/kuznero/events{/privacy}","received_events_url":"https://api.github.com/users/kuznero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-15T11:05:26Z","updated_at":"2016-09-20T13:47:47Z","closed_at":"2016-09-20T13:47:47Z","body":"I experienced this weird behavior when it does the formatting of the document (`elm-format.exe` is present in the system), but `:ElmFormat` produces following error in Vim:\r\n\r\n```\r\nError detected while processing function elm#Format:\r\nE190: Cannot open \"C:\\Program Files (x86)\\Vim/vimfiles/view/C=-=+Projects=+_kuznero=+vocabularis-elm=+src=+Main.elm=\" for writing\r\n```\r\n\r\nIt should have resolve another target for write, which is typically `%USERPROFILE%\\vimfiles\\` and not something inside `C:\\Program Files....`."}}
{"actor":{"display_login":"ajhager"}}