{"action":"created","issue":{"url":"https://api.github.com/repos/SirVer/ultisnips/issues/648","labels_url":"https://api.github.com/repos/SirVer/ultisnips/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/SirVer/ultisnips/issues/648/comments","events_url":"https://api.github.com/repos/SirVer/ultisnips/issues/648/events","html_url":"https://github.com/SirVer/ultisnips/pull/648","id":128287477,"number":648,"title":"Expand environment variables in UltiSnipsSnippetsDir","user":{"login":"alexlafroscia","id":1645881,"avatar_url":"https://avatars.githubusercontent.com/u/1645881?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlafroscia","html_url":"https://github.com/alexlafroscia","followers_url":"https://api.github.com/users/alexlafroscia/followers","following_url":"https://api.github.com/users/alexlafroscia/following{/other_user}","gists_url":"https://api.github.com/users/alexlafroscia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlafroscia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlafroscia/subscriptions","organizations_url":"https://api.github.com/users/alexlafroscia/orgs","repos_url":"https://api.github.com/users/alexlafroscia/repos","events_url":"https://api.github.com/users/alexlafroscia/events{/privacy}","received_events_url":"https://api.github.com/users/alexlafroscia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SirVer/ultisnips/labels/questionable","name":"questionable","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-23T02:40:53Z","updated_at":"2016-01-26T06:27:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SirVer/ultisnips/pulls/648","html_url":"https://github.com/SirVer/ultisnips/pull/648","diff_url":"https://github.com/SirVer/ultisnips/pull/648.diff","patch_url":"https://github.com/SirVer/ultisnips/pull/648.patch"},"body":"I noticed that environment variables don't work in the current version of UltiSnips within the value for `g:UltiSnipsSnippetsDir`.  For example, I tried setting it to\r\n\r\n```vim\r\nlet g:UltiSnipsSnippetsDir = \"$DOTFILES/nvim/UltiSnips\"\r\n```\r\n\r\nBut it would append the directory after the path to the current file or something weird like that.  This change expands the path at the right time so that it can find the snippet directory correctly."},"comment":{"url":"https://api.github.com/repos/SirVer/ultisnips/issues/comments/174852677","html_url":"https://github.com/SirVer/ultisnips/pull/648#issuecomment-174852677","issue_url":"https://api.github.com/repos/SirVer/ultisnips/issues/648","id":174852677,"user":{"login":"seletskiy","id":674812,"avatar_url":"https://avatars.githubusercontent.com/u/674812?v=3","gravatar_id":"","url":"https://api.github.com/users/seletskiy","html_url":"https://github.com/seletskiy","followers_url":"https://api.github.com/users/seletskiy/followers","following_url":"https://api.github.com/users/seletskiy/following{/other_user}","gists_url":"https://api.github.com/users/seletskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/seletskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seletskiy/subscriptions","organizations_url":"https://api.github.com/users/seletskiy/orgs","repos_url":"https://api.github.com/users/seletskiy/repos","events_url":"https://api.github.com/users/seletskiy/events{/privacy}","received_events_url":"https://api.github.com/users/seletskiy/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T06:27:56Z","updated_at":"2016-01-26T06:27:56Z","body":"@alexlafroscia: So, I'm closing PR in favor of using simpler"}}