{"action":"created","comment":{"url":"https://api.github.com/repos/honza/vim-snippets/pulls/comments/28649420","id":28649420,"diff_hunk":"@@ -0,0 +1,126 @@\n+snippet if\n+if ${1:condition} do\n+\t${2:expression}\n+${3:end}\n+endsnippet\n+\n+snippet unless\n+unless ${1:condition} do\n+\t${2:expression}\n+${3:end}\n+endsnippet\n+\n+snippet else\n+else\n+\t${1:expression}\n+end\n+endsnippet\n+\n+snippet iff","path":"UltiSnips/elixir.snippets","position":19,"original_position":19,"commit_id":"e1ef5d96a63f4bcc66e545f590de5db6bd6aea23","original_commit_id":"e1ef5d96a63f4bcc66e545f590de5db6bd6aea23","user":{"login":"benhamill","id":25421,"avatar_url":"https://avatars.githubusercontent.com/u/25421?v=3","gravatar_id":"","url":"https://api.github.com/users/benhamill","html_url":"https://github.com/benhamill","followers_url":"https://api.github.com/users/benhamill/followers","following_url":"https://api.github.com/users/benhamill/following{/other_user}","gists_url":"https://api.github.com/users/benhamill/gists{/gist_id}","starred_url":"https://api.github.com/users/benhamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhamill/subscriptions","organizations_url":"https://api.github.com/users/benhamill/orgs","repos_url":"https://api.github.com/users/benhamill/repos","events_url":"https://api.github.com/users/benhamill/events{/privacy}","received_events_url":"https://api.github.com/users/benhamill/received_events","type":"User","site_admin":false},"body":"movement distance. Inspired by `yy` to copy a line in vim and other commands like it: Your finger's already on the last letter.","created_at":"2015-04-19T03:19:55Z","updated_at":"2015-04-19T03:19:55Z","html_url":"https://github.com/honza/vim-snippets/pull/565#discussion_r28649420","pull_request_url":"https://api.github.com/repos/honza/vim-snippets/pulls/565","_links":{"self":{"href":"https://api.github.com/repos/honza/vim-snippets/pulls/comments/28649420"},"html":{"href":"https://github.com/honza/vim-snippets/pull/565#discussion_r28649420"},"pull_request":{"href":"https://api.github.com/repos/honza/vim-snippets/pulls/565"}}},"pull_request":{"url":"https://api.github.com/repos/honza/vim-snippets/pulls/565","id":33594520,"html_url":"https://github.com/honza/vim-snippets/pull/565","diff_url":"https://github.com/honza/vim-snippets/pull/565.diff","patch_url":"https://github.com/honza/vim-snippets/pull/565.patch","issue_url":"https://api.github.com/repos/honza/vim-snippets/issues/565","number":565,"state":"open","locked":false,"title":"Enhanced Ultisnips Elixir snippets","user":{"login":"benhamill","id":25421,"avatar_url":"https://avatars.githubusercontent.com/u/25421?v=3","gravatar_id":"","url":"https://api.github.com/users/benhamill","html_url":"https://github.com/benhamill","followers_url":"https://api.github.com/users/benhamill/followers","following_url":"https://api.github.com/users/benhamill/following{/other_user}","gists_url":"https://api.github.com/users/benhamill/gists{/gist_id}","starred_url":"https://api.github.com/users/benhamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhamill/subscriptions","organizations_url":"https://api.github.com/users/benhamill/orgs","repos_url":"https://api.github.com/users/benhamill/repos","events_url":"https://api.github.com/users/benhamill/events{/privacy}","received_events_url":"https://api.github.com/users/benhamill/received_events","type":"User","site_admin":false},"body":"Many of these collapse several snippets Elixir snippets into a single Ultisnip Elixir snippet. Notably, snippets for `if` and `unless` don't have else-including companions, but, rather, the included `end` is an optional final section and there's an `else` snippet.","created_at":"2015-04-18T01:56:37Z","updated_at":"2015-04-19T03:19:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3009a119fed7810b5d64136c14015fe474e1b74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/honza/vim-snippets/pulls/565/commits","review_comments_url":"https://api.github.com/repos/honza/vim-snippets/pulls/565/comments","review_comment_url":"https://api.github.com/repos/honza/vim-snippets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/honza/vim-snippets/issues/565/comments","statuses_url":"https://api.github.com/repos/honza/vim-snippets/statuses/e1ef5d96a63f4bcc66e545f590de5db6bd6aea23","head":{"label":"benhamill:clean_up_elixir_snippets","ref":"clean_up_elixir_snippets","sha":"e1ef5d96a63f4bcc66e545f590de5db6bd6aea23","user":{"login":"benhamill","id":25421,"avatar_url":"https://avatars.githubusercontent.com/u/25421?v=3","gravatar_id":"","url":"https://api.github.com/users/benhamill","html_url":"https://github.com/benhamill","followers_url":"https://api.github.com/users/benhamill/followers","following_url":"https://api.github.com/users/benhamill/following{/other_user}","gists_url":"https://api.github.com/users/benhamill/gists{/gist_id}","starred_url":"https://api.github.com/users/benhamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhamill/subscriptions","organizations_url":"https://api.github.com/users/benhamill/orgs","repos_url":"https://api.github.com/users/benhamill/repos","events_url":"https://api.github.com/users/benhamill/events{/privacy}","received_events_url":"https://api.github.com/users/benhamill/received_events","type":"User","site_admin":false},"repo":{"id":34147600,"name":"vim-snippets","full_name":"benhamill/vim-snippets","owner":{"login":"benhamill","id":25421,"avatar_url":"https://avatars.githubusercontent.com/u/25421?v=3","gravatar_id":"","url":"https://api.github.com/users/benhamill","html_url":"https://github.com/benhamill","followers_url":"https://api.github.com/users/benhamill/followers","following_url":"https://api.github.com/users/benhamill/following{/other_user}","gists_url":"https://api.github.com/users/benhamill/gists{/gist_id}","starred_url":"https://api.github.com/users/benhamill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhamill/subscriptions","organizations_url":"https://api.github.com/users/benhamill/orgs","repos_url":"https://api.github.com/users/benhamill/repos","events_url":"https://api.github.com/users/benhamill/events{/privacy}","received_events_url":"https://api.github.com/users/benhamill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benhamill/vim-snippets","description":"vim-snipmate default snippets (Previously snipmate-snippets)","fork":true,"url":"https://api.github.com/repos/benhamill/vim-snippets","forks_url":"https://api.github.com/repos/benhamill/vim-snippets/forks","keys_url":"https://api.github.com/repos/benhamill/vim-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benhamill/vim-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benhamill/vim-snippets/teams","hooks_url":"https://api.github.com/repos/benhamill/vim-snippets/hooks","issue_events_url":"https://api.github.com/repos/benhamill/vim-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/benhamill/vim-snippets/events","assignees_url":"https://api.github.com/repos/benhamill/vim-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/benhamill/vim-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/benhamill/vim-snippets/tags","blobs_url":"https://api.github.com/repos/benhamill/vim-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benhamill/vim-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benhamill/vim-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/benhamill/vim-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benhamill/vim-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/benhamill/vim-snippets/languages","stargazers_url":"https://api.github.com/repos/benhamill/vim-snippets/stargazers","contributors_url":"https://api.github.com/repos/benhamill/vim-snippets/contributors","subscribers_url":"https://api.github.com/repos/benhamill/vim-snippets/subscribers","subscription_url":"https://api.github.com/repos/benhamill/vim-snippets/subscription","commits_url":"https://api.github.com/repos/benhamill/vim-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/benhamill/vim-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/benhamill/vim-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/benhamill/vim-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/benhamill/vim-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/benhamill/vim-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benhamill/vim-snippets/merges","archive_url":"https://api.github.com/repos/benhamill/vim-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benhamill/vim-snippets/downloads","issues_url":"https://api.github.com/repos/benhamill/vim-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/benhamill/vim-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/benhamill/vim-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/benhamill/vim-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benhamill/vim-snippets/labels{/name}","releases_url":"https://api.github.com/repos/benhamill/vim-snippets/releases{/id}","created_at":"2015-04-18T01:18:04Z","updated_at":"2015-04-18T01:18:05Z","pushed_at":"2015-04-18T01:55:49Z","git_url":"git://github.com/benhamill/vim-snippets.git","ssh_url":"git@github.com:benhamill/vim-snippets.git","clone_url":"https://github.com/benhamill/vim-snippets.git","svn_url":"https://github.com/benhamill/vim-snippets","homepage":"","size":3967,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"honza:master","ref":"master","sha":"ad86122fc7e7c3ef59267a0cc0bd36e4c8e951be","user":{"login":"honza","id":206357,"avatar_url":"https://avatars.githubusercontent.com/u/206357?v=3","gravatar_id":"","url":"https://api.github.com/users/honza","html_url":"https://github.com/honza","followers_url":"https://api.github.com/users/honza/followers","following_url":"https://api.github.com/users/honza/following{/other_user}","gists_url":"https://api.github.com/users/honza/gists{/gist_id}","starred_url":"https://api.github.com/users/honza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honza/subscriptions","organizations_url":"https://api.github.com/users/honza/orgs","repos_url":"https://api.github.com/users/honza/repos","events_url":"https://api.github.com/users/honza/events{/privacy}","received_events_url":"https://api.github.com/users/honza/received_events","type":"User","site_admin":false},"repo":{"id":1924847,"name":"vim-snippets","full_name":"honza/vim-snippets","owner":{"login":"honza","id":206357,"avatar_url":"https://avatars.githubusercontent.com/u/206357?v=3","gravatar_id":"","url":"https://api.github.com/users/honza","html_url":"https://github.com/honza","followers_url":"https://api.github.com/users/honza/followers","following_url":"https://api.github.com/users/honza/following{/other_user}","gists_url":"https://api.github.com/users/honza/gists{/gist_id}","starred_url":"https://api.github.com/users/honza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honza/subscriptions","organizations_url":"https://api.github.com/users/honza/orgs","repos_url":"https://api.github.com/users/honza/repos","events_url":"https://api.github.com/users/honza/events{/privacy}","received_events_url":"https://api.github.com/users/honza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/honza/vim-snippets","description":"vim-snipmate default snippets (Previously snipmate-snippets)","fork":false,"url":"https://api.github.com/repos/honza/vim-snippets","forks_url":"https://api.github.com/repos/honza/vim-snippets/forks","keys_url":"https://api.github.com/repos/honza/vim-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/honza/vim-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/honza/vim-snippets/teams","hooks_url":"https://api.github.com/repos/honza/vim-snippets/hooks","issue_events_url":"https://api.github.com/repos/honza/vim-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/honza/vim-snippets/events","assignees_url":"https://api.github.com/repos/honza/vim-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/honza/vim-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/honza/vim-snippets/tags","blobs_url":"https://api.github.com/repos/honza/vim-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/honza/vim-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/honza/vim-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/honza/vim-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/honza/vim-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/honza/vim-snippets/languages","stargazers_url":"https://api.github.com/repos/honza/vim-snippets/stargazers","contributors_url":"https://api.github.com/repos/honza/vim-snippets/contributors","subscribers_url":"https://api.github.com/repos/honza/vim-snippets/subscribers","subscription_url":"https://api.github.com/repos/honza/vim-snippets/subscription","commits_url":"https://api.github.com/repos/honza/vim-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/honza/vim-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/honza/vim-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/honza/vim-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/honza/vim-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/honza/vim-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/honza/vim-snippets/merges","archive_url":"https://api.github.com/repos/honza/vim-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/honza/vim-snippets/downloads","issues_url":"https://api.github.com/repos/honza/vim-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/honza/vim-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/honza/vim-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/honza/vim-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/honza/vim-snippets/labels{/name}","releases_url":"https://api.github.com/repos/honza/vim-snippets/releases{/id}","created_at":"2011-06-20T17:42:05Z","updated_at":"2015-04-18T14:59:30Z","pushed_at":"2015-04-18T01:56:37Z","git_url":"git://github.com/honza/vim-snippets.git","ssh_url":"git@github.com:honza/vim-snippets.git","clone_url":"https://github.com/honza/vim-snippets.git","svn_url":"https://github.com/honza/vim-snippets","homepage":"","size":3967,"stargazers_count":1295,"watchers_count":1295,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":812,"mirror_url":null,"open_issues_count":13,"forks":812,"open_issues":13,"watchers":1295,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/honza/vim-snippets/pulls/565"},"html":{"href":"https://github.com/honza/vim-snippets/pull/565"},"issue":{"href":"https://api.github.com/repos/honza/vim-snippets/issues/565"},"comments":{"href":"https://api.github.com/repos/honza/vim-snippets/issues/565/comments"},"review_comments":{"href":"https://api.github.com/repos/honza/vim-snippets/pulls/565/comments"},"review_comment":{"href":"https://api.github.com/repos/honza/vim-snippets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/honza/vim-snippets/pulls/565/commits"},"statuses":{"href":"https://api.github.com/repos/honza/vim-snippets/statuses/e1ef5d96a63f4bcc66e545f590de5db6bd6aea23"}}}}