{"action":"created","comment":{"url":"https://api.github.com/repos/neovim/neovim/pulls/comments/41354431","id":41354431,"diff_hunk":"@@ -301,6 +301,15 @@ static char *(p_cot_values[]) = {\"menu\", \"menuone\", \"longest\", \"preview\",\n # include \"option.c.generated.h\"\n #endif\n \n+static void set_runtimepath_default(void)\n+{\n+  garray_T rtp_ga;\n+  ga_init(&rtp_ga, (int)sizeof(const char *), 1);\n+  GA_APPEND(const char *, &rtp_ga, get_user_conf_dir());\n+  GA_APPEND(const char *, &rtp_ga, concat_fnames(get_user_conf_dir(), \"after\", true));\n+  set_string_default(\"runtimepath\", ga_concat_strings(&rtp_ga));","path":"src/nvim/option.c","position":10,"original_position":10,"commit_id":"b961339c03cdf7fec870d54fb7e260a61d259bb5","original_commit_id":"b961339c03cdf7fec870d54fb7e260a61d259bb5","user":{"login":"splinterofchaos","id":38515,"avatar_url":"https://avatars.githubusercontent.com/u/38515?v=3","gravatar_id":"","url":"https://api.github.com/users/splinterofchaos","html_url":"https://github.com/splinterofchaos","followers_url":"https://api.github.com/users/splinterofchaos/followers","following_url":"https://api.github.com/users/splinterofchaos/following{/other_user}","gists_url":"https://api.github.com/users/splinterofchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/splinterofchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splinterofchaos/subscriptions","organizations_url":"https://api.github.com/users/splinterofchaos/orgs","repos_url":"https://api.github.com/users/splinterofchaos/repos","events_url":"https://api.github.com/users/splinterofchaos/events{/privacy}","received_events_url":"https://api.github.com/users/splinterofchaos/received_events","type":"User","site_admin":false},"body":"The memory allocated by `concat_fnames` must be `xfree`d. Doesn't look like we gain much by using `garray_T` here. `sprintf()` (or the custom vim variant) might be more appropriate.","created_at":"2015-10-07T06:04:31Z","updated_at":"2015-10-07T06:04:31Z","html_url":"https://github.com/neovim/neovim/pull/3198#discussion_r41354431","pull_request_url":"https://api.github.com/repos/neovim/neovim/pulls/3198","_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments/41354431"},"html":{"href":"https://github.com/neovim/neovim/pull/3198#discussion_r41354431"},"pull_request":{"href":"https://api.github.com/repos/neovim/neovim/pulls/3198"}}},"pull_request":{"url":"https://api.github.com/repos/neovim/neovim/pulls/3198","id":42794114,"html_url":"https://github.com/neovim/neovim/pull/3198","diff_url":"https://github.com/neovim/neovim/pull/3198.diff","patch_url":"https://github.com/neovim/neovim/pull/3198.patch","issue_url":"https://api.github.com/repos/neovim/neovim/issues/3198","number":3198,"state":"open","locked":false,"title":"[WIP] XDG support","user":{"login":"jck","id":315886,"avatar_url":"https://avatars.githubusercontent.com/u/315886?v=3","gravatar_id":"","url":"https://api.github.com/users/jck","html_url":"https://github.com/jck","followers_url":"https://api.github.com/users/jck/followers","following_url":"https://api.github.com/users/jck/following{/other_user}","gists_url":"https://api.github.com/users/jck/gists{/gist_id}","starred_url":"https://api.github.com/users/jck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jck/subscriptions","organizations_url":"https://api.github.com/users/jck/orgs","repos_url":"https://api.github.com/users/jck/repos","events_url":"https://api.github.com/users/jck/events{/privacy}","received_events_url":"https://api.github.com/users/jck/received_events","type":"User","site_admin":false},"body":"This is a continuation of the discussion in #3127 .\r\nI've addressed some of the comments in https://github.com/neovim/neovim/commit/8fc097657d9adf4a81cb2ee03c29de6fb8f5bf16 but there is still quite a bit to do.","created_at":"2015-08-19T09:33:38Z","updated_at":"2015-10-07T06:04:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"963fefe73c5faef28e5b2bc75b6ea0b0d86473ef","assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/5","html_url":"https://github.com/neovim/neovim/milestones/0.1-first-public-release","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/5/labels","id":652241,"number":5,"title":"0.1-first-public-release","description":"beta release, codename: \"whoa\"","creator":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":107,"state":"open","created_at":"2014-05-07T21:37:18Z","updated_at":"2015-10-04T14:55:53Z","due_on":"2015-10-31T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/neovim/neovim/pulls/3198/commits","review_comments_url":"https://api.github.com/repos/neovim/neovim/pulls/3198/comments","review_comment_url":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/3198/comments","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/b961339c03cdf7fec870d54fb7e260a61d259bb5","head":{"label":"jck:xdg","ref":"xdg","sha":"b961339c03cdf7fec870d54fb7e260a61d259bb5","user":{"login":"jck","id":315886,"avatar_url":"https://avatars.githubusercontent.com/u/315886?v=3","gravatar_id":"","url":"https://api.github.com/users/jck","html_url":"https://github.com/jck","followers_url":"https://api.github.com/users/jck/followers","following_url":"https://api.github.com/users/jck/following{/other_user}","gists_url":"https://api.github.com/users/jck/gists{/gist_id}","starred_url":"https://api.github.com/users/jck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jck/subscriptions","organizations_url":"https://api.github.com/users/jck/orgs","repos_url":"https://api.github.com/users/jck/repos","events_url":"https://api.github.com/users/jck/events{/privacy}","received_events_url":"https://api.github.com/users/jck/received_events","type":"User","site_admin":false},"repo":{"id":40138454,"name":"neovim","full_name":"jck/neovim","owner":{"login":"jck","id":315886,"avatar_url":"https://avatars.githubusercontent.com/u/315886?v=3","gravatar_id":"","url":"https://api.github.com/users/jck","html_url":"https://github.com/jck","followers_url":"https://api.github.com/users/jck/followers","following_url":"https://api.github.com/users/jck/following{/other_user}","gists_url":"https://api.github.com/users/jck/gists{/gist_id}","starred_url":"https://api.github.com/users/jck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jck/subscriptions","organizations_url":"https://api.github.com/users/jck/orgs","repos_url":"https://api.github.com/users/jck/repos","events_url":"https://api.github.com/users/jck/events{/privacy}","received_events_url":"https://api.github.com/users/jck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jck/neovim","description":"Vim-fork focused on extensibility and agility. Consider helping sustain Neovim development! ","fork":true,"url":"https://api.github.com/repos/jck/neovim","forks_url":"https://api.github.com/repos/jck/neovim/forks","keys_url":"https://api.github.com/repos/jck/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jck/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jck/neovim/teams","hooks_url":"https://api.github.com/repos/jck/neovim/hooks","issue_events_url":"https://api.github.com/repos/jck/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/jck/neovim/events","assignees_url":"https://api.github.com/repos/jck/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/jck/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/jck/neovim/tags","blobs_url":"https://api.github.com/repos/jck/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jck/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jck/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/jck/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jck/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/jck/neovim/languages","stargazers_url":"https://api.github.com/repos/jck/neovim/stargazers","contributors_url":"https://api.github.com/repos/jck/neovim/contributors","subscribers_url":"https://api.github.com/repos/jck/neovim/subscribers","subscription_url":"https://api.github.com/repos/jck/neovim/subscription","commits_url":"https://api.github.com/repos/jck/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/jck/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/jck/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/jck/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/jck/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/jck/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jck/neovim/merges","archive_url":"https://api.github.com/repos/jck/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jck/neovim/downloads","issues_url":"https://api.github.com/repos/jck/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/jck/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/jck/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/jck/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jck/neovim/labels{/name}","releases_url":"https://api.github.com/repos/jck/neovim/releases{/id}","created_at":"2015-08-03T17:28:36Z","updated_at":"2015-08-03T17:28:42Z","pushed_at":"2015-10-06T10:24:39Z","git_url":"git://github.com/jck/neovim.git","ssh_url":"git@github.com:jck/neovim.git","clone_url":"https://github.com/jck/neovim.git","svn_url":"https://github.com/jck/neovim","homepage":"https://salt.bountysource.com/teams/neovim","size":34022,"stargazers_count":0,"watchers_count":0,"language":"VimL","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"neovim:master","ref":"master","sha":"7be75a02917b40e5791e3f98d177f833a348df35","user":{"login":"neovim","id":6471485,"avatar_url":"https://avatars.githubusercontent.com/u/6471485?v=3","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"repo":{"id":16408992,"name":"neovim","full_name":"neovim/neovim","owner":{"login":"neovim","id":6471485,"avatar_url":"https://avatars.githubusercontent.com/u/6471485?v=3","gravatar_id":"","url":"https://api.github.com/users/neovim","html_url":"https://github.com/neovim","followers_url":"https://api.github.com/users/neovim/followers","following_url":"https://api.github.com/users/neovim/following{/other_user}","gists_url":"https://api.github.com/users/neovim/gists{/gist_id}","starred_url":"https://api.github.com/users/neovim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neovim/subscriptions","organizations_url":"https://api.github.com/users/neovim/orgs","repos_url":"https://api.github.com/users/neovim/repos","events_url":"https://api.github.com/users/neovim/events{/privacy}","received_events_url":"https://api.github.com/users/neovim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neovim/neovim","description":"Vim-fork focused on extensibility and agility. Consider helping sustain Neovim development! ","fork":false,"url":"https://api.github.com/repos/neovim/neovim","forks_url":"https://api.github.com/repos/neovim/neovim/forks","keys_url":"https://api.github.com/repos/neovim/neovim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neovim/neovim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neovim/neovim/teams","hooks_url":"https://api.github.com/repos/neovim/neovim/hooks","issue_events_url":"https://api.github.com/repos/neovim/neovim/issues/events{/number}","events_url":"https://api.github.com/repos/neovim/neovim/events","assignees_url":"https://api.github.com/repos/neovim/neovim/assignees{/user}","branches_url":"https://api.github.com/repos/neovim/neovim/branches{/branch}","tags_url":"https://api.github.com/repos/neovim/neovim/tags","blobs_url":"https://api.github.com/repos/neovim/neovim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neovim/neovim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neovim/neovim/git/refs{/sha}","trees_url":"https://api.github.com/repos/neovim/neovim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neovim/neovim/statuses/{sha}","languages_url":"https://api.github.com/repos/neovim/neovim/languages","stargazers_url":"https://api.github.com/repos/neovim/neovim/stargazers","contributors_url":"https://api.github.com/repos/neovim/neovim/contributors","subscribers_url":"https://api.github.com/repos/neovim/neovim/subscribers","subscription_url":"https://api.github.com/repos/neovim/neovim/subscription","commits_url":"https://api.github.com/repos/neovim/neovim/commits{/sha}","git_commits_url":"https://api.github.com/repos/neovim/neovim/git/commits{/sha}","comments_url":"https://api.github.com/repos/neovim/neovim/comments{/number}","issue_comment_url":"https://api.github.com/repos/neovim/neovim/issues/comments{/number}","contents_url":"https://api.github.com/repos/neovim/neovim/contents/{+path}","compare_url":"https://api.github.com/repos/neovim/neovim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neovim/neovim/merges","archive_url":"https://api.github.com/repos/neovim/neovim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neovim/neovim/downloads","issues_url":"https://api.github.com/repos/neovim/neovim/issues{/number}","pulls_url":"https://api.github.com/repos/neovim/neovim/pulls{/number}","milestones_url":"https://api.github.com/repos/neovim/neovim/milestones{/number}","notifications_url":"https://api.github.com/repos/neovim/neovim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neovim/neovim/labels{/name}","releases_url":"https://api.github.com/repos/neovim/neovim/releases{/id}","created_at":"2014-01-31T13:39:22Z","updated_at":"2015-10-07T03:35:25Z","pushed_at":"2015-10-06T22:10:16Z","git_url":"git://github.com/neovim/neovim.git","ssh_url":"git@github.com:neovim/neovim.git","clone_url":"https://github.com/neovim/neovim.git","svn_url":"https://github.com/neovim/neovim","homepage":"https://salt.bountysource.com/teams/neovim","size":80006,"stargazers_count":15264,"watchers_count":15264,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1050,"mirror_url":null,"open_issues_count":521,"forks":1050,"open_issues":521,"watchers":15264,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neovim/neovim/pulls/3198"},"html":{"href":"https://github.com/neovim/neovim/pull/3198"},"issue":{"href":"https://api.github.com/repos/neovim/neovim/issues/3198"},"comments":{"href":"https://api.github.com/repos/neovim/neovim/issues/3198/comments"},"review_comments":{"href":"https://api.github.com/repos/neovim/neovim/pulls/3198/comments"},"review_comment":{"href":"https://api.github.com/repos/neovim/neovim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neovim/neovim/pulls/3198/commits"},"statuses":{"href":"https://api.github.com/repos/neovim/neovim/statuses/b961339c03cdf7fec870d54fb7e260a61d259bb5"}}}}