{"action":"created","comment":{"url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/comments/50000645","id":50000645,"diff_hunk":"@@ -0,0 +1,25 @@\n+# A map of ycmd language specifiers to Sublime scope names\n+LANG_MAP = {\n+    'c': 'c',\n+    'objc': 'objc',\n+    'ocaml': 'ocaml',\n+    'c++': 'c++',\n+    'perl': 'perl',\n+    'php': 'php',\n+    'cs': 'cs',\n+    'java': 'java',\n+    'js': 'js',\n+    'd': 'd',\n+    'python': 'python',\n+    'go': 'go',\n+    'erlang': 'erlang',\n+    'ruby': 'ruby',\n+    'rust': 'rust',\n+    'lua': 'lua',\n+    'elixir': 'elixir', # needs plugin\n+    'cpp': 'c++',\n+    'javascript': 'js',\n+    'typescript': 'ts', # needs plugin\n+    'vb': 'vbnet', # needs plugin\n+    'perl6': 'perl', # Sublime doesn't treat perl 6 as different\n+}","path":"lang_map.py","position":25,"original_position":25,"commit_id":"27a673c9b99ac7c1ebe0e48e66f6426328db3ddf","original_commit_id":"27a673c9b99ac7c1ebe0e48e66f6426328db3ddf","user":{"login":"LuckyGeck","id":178232,"avatar_url":"https://avatars.githubusercontent.com/u/178232?v=3","gravatar_id":"","url":"https://api.github.com/users/LuckyGeck","html_url":"https://github.com/LuckyGeck","followers_url":"https://api.github.com/users/LuckyGeck/followers","following_url":"https://api.github.com/users/LuckyGeck/following{/other_user}","gists_url":"https://api.github.com/users/LuckyGeck/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyGeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyGeck/subscriptions","organizations_url":"https://api.github.com/users/LuckyGeck/orgs","repos_url":"https://api.github.com/users/LuckyGeck/repos","events_url":"https://api.github.com/users/LuckyGeck/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyGeck/received_events","type":"User","site_admin":false},"body":"Please, add blank line in the end. Thx!","created_at":"2016-01-18T13:56:14Z","updated_at":"2016-01-18T13:56:14Z","html_url":"https://github.com/LuckyGeck/YcmdCompletion/pull/14#discussion_r50000645","pull_request_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/comments/50000645"},"html":{"href":"https://github.com/LuckyGeck/YcmdCompletion/pull/14#discussion_r50000645"},"pull_request":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14","id":55568530,"html_url":"https://github.com/LuckyGeck/YcmdCompletion/pull/14","diff_url":"https://github.com/LuckyGeck/YcmdCompletion/pull/14.diff","patch_url":"https://github.com/LuckyGeck/YcmdCompletion/pull/14.patch","issue_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/issues/14","number":14,"state":"open","locked":false,"title":"Add support for other languages","user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"body":"Tested with Rust, works. I don't have a C++ ycmd setup so I didn't test this thoroughly with C++ (It completes `std::vector` fine, I don't know if GoTo is working), but I've only made minor changes to the C++ handling so it should be ok.\r\n\r\nSince I haven't tested this with anything else, I've mentioned that languages other than C++ and Rust _may_ work in the prefs file.\r\n\r\nFixes #1\r\n\r\ncc @LuckyGeck \r\n","created_at":"2016-01-10T16:35:49Z","updated_at":"2016-01-18T13:56:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef60dcf8ff7eb19037f5d2caf36670923a3394ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14/commits","review_comments_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14/comments","review_comment_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/issues/14/comments","statuses_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/statuses/27a673c9b99ac7c1ebe0e48e66f6426328db3ddf","head":{"label":"Manishearth:rust","ref":"rust","sha":"27a673c9b99ac7c1ebe0e48e66f6426328db3ddf","user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"repo":{"id":49353691,"name":"YcmdCompletion","full_name":"Manishearth/YcmdCompletion","owner":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Manishearth/YcmdCompletion","description":"Sublime Text 3 plugin for C++ code completion and error highlighting, based on Ycmd server","fork":true,"url":"https://api.github.com/repos/Manishearth/YcmdCompletion","forks_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/forks","keys_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/teams","hooks_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/hooks","issue_events_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/issues/events{/number}","events_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/events","assignees_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/assignees{/user}","branches_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/branches{/branch}","tags_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/tags","blobs_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/git/refs{/sha}","trees_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/statuses/{sha}","languages_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/languages","stargazers_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/stargazers","contributors_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/contributors","subscribers_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/subscribers","subscription_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/subscription","commits_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/commits{/sha}","git_commits_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/git/commits{/sha}","comments_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/comments{/number}","issue_comment_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/issues/comments{/number}","contents_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/contents/{+path}","compare_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/merges","archive_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/downloads","issues_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/issues{/number}","pulls_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/pulls{/number}","milestones_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/milestones{/number}","notifications_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/labels{/name}","releases_url":"https://api.github.com/repos/Manishearth/YcmdCompletion/releases{/id}","created_at":"2016-01-10T04:42:48Z","updated_at":"2016-01-10T04:42:49Z","pushed_at":"2016-01-18T13:38:20Z","git_url":"git://github.com/Manishearth/YcmdCompletion.git","ssh_url":"git@github.com:Manishearth/YcmdCompletion.git","clone_url":"https://github.com/Manishearth/YcmdCompletion.git","svn_url":"https://github.com/Manishearth/YcmdCompletion","homepage":null,"size":39,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LuckyGeck:master","ref":"master","sha":"aea9fb250837dcf8f86381890efc8ae64de81296","user":{"login":"LuckyGeck","id":178232,"avatar_url":"https://avatars.githubusercontent.com/u/178232?v=3","gravatar_id":"","url":"https://api.github.com/users/LuckyGeck","html_url":"https://github.com/LuckyGeck","followers_url":"https://api.github.com/users/LuckyGeck/followers","following_url":"https://api.github.com/users/LuckyGeck/following{/other_user}","gists_url":"https://api.github.com/users/LuckyGeck/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyGeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyGeck/subscriptions","organizations_url":"https://api.github.com/users/LuckyGeck/orgs","repos_url":"https://api.github.com/users/LuckyGeck/repos","events_url":"https://api.github.com/users/LuckyGeck/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyGeck/received_events","type":"User","site_admin":false},"repo":{"id":26392675,"name":"YcmdCompletion","full_name":"LuckyGeck/YcmdCompletion","owner":{"login":"LuckyGeck","id":178232,"avatar_url":"https://avatars.githubusercontent.com/u/178232?v=3","gravatar_id":"","url":"https://api.github.com/users/LuckyGeck","html_url":"https://github.com/LuckyGeck","followers_url":"https://api.github.com/users/LuckyGeck/followers","following_url":"https://api.github.com/users/LuckyGeck/following{/other_user}","gists_url":"https://api.github.com/users/LuckyGeck/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyGeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyGeck/subscriptions","organizations_url":"https://api.github.com/users/LuckyGeck/orgs","repos_url":"https://api.github.com/users/LuckyGeck/repos","events_url":"https://api.github.com/users/LuckyGeck/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyGeck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LuckyGeck/YcmdCompletion","description":"Sublime Text 3 plugin for C++ code completion and error highlighting, based on Ycmd server","fork":false,"url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion","forks_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/forks","keys_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/teams","hooks_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/hooks","issue_events_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/issues/events{/number}","events_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/events","assignees_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/assignees{/user}","branches_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/branches{/branch}","tags_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/tags","blobs_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/statuses/{sha}","languages_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/languages","stargazers_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/stargazers","contributors_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/contributors","subscribers_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/subscribers","subscription_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/subscription","commits_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/contents/{+path}","compare_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/merges","archive_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/downloads","issues_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/issues{/number}","pulls_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls{/number}","milestones_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/milestones{/number}","notifications_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/labels{/name}","releases_url":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/releases{/id}","created_at":"2014-11-09T10:40:53Z","updated_at":"2015-11-21T11:10:19Z","pushed_at":"2016-01-18T13:38:21Z","git_url":"git://github.com/LuckyGeck/YcmdCompletion.git","ssh_url":"git@github.com:LuckyGeck/YcmdCompletion.git","clone_url":"https://github.com/LuckyGeck/YcmdCompletion.git","svn_url":"https://github.com/LuckyGeck/YcmdCompletion","homepage":null,"size":33,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14"},"html":{"href":"https://github.com/LuckyGeck/YcmdCompletion/pull/14"},"issue":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/issues/14"},"comments":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/LuckyGeck/YcmdCompletion/statuses/27a673c9b99ac7c1ebe0e48e66f6426328db3ddf"}}}}