{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5050","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5050/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5050/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5050/events","html_url":"https://github.com/neovim/neovim/pull/5050","id":165003567,"number":5050,"title":"[RFC] rplugin manifest should live at XDG-style path","user":{"login":"tweekmonster","id":111942,"avatar_url":"https://avatars.githubusercontent.com/u/111942?v=3","gravatar_id":"","url":"https://api.github.com/users/tweekmonster","html_url":"https://github.com/tweekmonster","followers_url":"https://api.github.com/users/tweekmonster/followers","following_url":"https://api.github.com/users/tweekmonster/following{/other_user}","gists_url":"https://api.github.com/users/tweekmonster/gists{/gist_id}","starred_url":"https://api.github.com/users/tweekmonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tweekmonster/subscriptions","organizations_url":"https://api.github.com/users/tweekmonster/orgs","repos_url":"https://api.github.com/users/tweekmonster/repos","events_url":"https://api.github.com/users/tweekmonster/events{/privacy}","received_events_url":"https://api.github.com/users/tweekmonster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/RFC","name":"RFC","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":59,"created_at":"2016-07-12T06:30:19Z","updated_at":"2016-08-15T20:30:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/neovim/neovim/pulls/5050","html_url":"https://github.com/neovim/neovim/pull/5050","diff_url":"https://github.com/neovim/neovim/pull/5050.diff","patch_url":"https://github.com/neovim/neovim/pull/5050.patch"},"body":"Re: [Problem mentioned on reddit][1]\r\n\r\nIf `$MYVIMRC` and `:scriptnames` yields an unsuitable path, fallback to `$XDG_CONFIG_HOME/nvim/init.vim` if the directory exists.  Otherwise, throw an exception before a useless manifest is written.\r\n\r\nThis also doesn't allow the manifest to be written in `$VIMRUNTIME` in case the user happens to have write permissions there.\r\n\r\nI thought about using `$HOME/.nvim.-rplugin~` as the final fallback instead of throwing an exception, but that felt a little too presumptuous.\r\n\r\n[1]: https://www.reddit.com/r/neovim/comments/4s0uhj/how_to_updateremoteplugins_just_once_globally/\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/239919435","html_url":"https://github.com/neovim/neovim/pull/5050#issuecomment-239919435","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5050","id":239919435,"user":{"login":"jszakmeister","id":448087,"avatar_url":"https://avatars.githubusercontent.com/u/448087?v=3","gravatar_id":"","url":"https://api.github.com/users/jszakmeister","html_url":"https://github.com/jszakmeister","followers_url":"https://api.github.com/users/jszakmeister/followers","following_url":"https://api.github.com/users/jszakmeister/following{/other_user}","gists_url":"https://api.github.com/users/jszakmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/jszakmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jszakmeister/subscriptions","organizations_url":"https://api.github.com/users/jszakmeister/orgs","repos_url":"https://api.github.com/users/jszakmeister/repos","events_url":"https://api.github.com/users/jszakmeister/events{/privacy}","received_events_url":"https://api.github.com/users/jszakmeister/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T20:30:46Z","updated_at":"2016-08-15T20:30:46Z","body":"> It turns out that $NVIM_RPLUGIN_MANIFEST doesn't need to be set at all for the builds to pass. I reverted them and squashed the commits.\r\n\r\nOn QB, I'm setting that environment variable outside of CMake, since I'm not currently using RunTests.cmake.  However, I think it's good for it to be there, especially to prevent polluting folks home directories.  In fact, it might be a good idea to setup environment variables for the XDG-related bits, just to keep everything contained."}}
{"actor":{"display_login":"jszakmeister"}}