{"action":"created","issue":{"url":"https://api.github.com/repos/Shougo/neosnippet.vim/issues/322","labels_url":"https://api.github.com/repos/Shougo/neosnippet.vim/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/neosnippet.vim/issues/322/comments","events_url":"https://api.github.com/repos/Shougo/neosnippet.vim/issues/322/events","html_url":"https://github.com/Shougo/neosnippet.vim/issues/322","id":126174056,"number":322,"title":"completed snippet error for < Foo,Fee> in ()","user":{"login":"wsdjeg","id":13142418,"avatar_url":"https://avatars.githubusercontent.com/u/13142418?v=3","gravatar_id":"","url":"https://api.github.com/users/wsdjeg","html_url":"https://github.com/wsdjeg","followers_url":"https://api.github.com/users/wsdjeg/followers","following_url":"https://api.github.com/users/wsdjeg/following{/other_user}","gists_url":"https://api.github.com/users/wsdjeg/gists{/gist_id}","starred_url":"https://api.github.com/users/wsdjeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsdjeg/subscriptions","organizations_url":"https://api.github.com/users/wsdjeg/orgs","repos_url":"https://api.github.com/users/wsdjeg/repos","events_url":"https://api.github.com/users/wsdjeg/events{/privacy}","received_events_url":"https://api.github.com/users/wsdjeg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-12T12:57:29Z","updated_at":"2016-01-18T03:03:29Z","closed_at":"2016-01-18T03:03:21Z","body":"hi @Shougo here are two examples for complete done snippet gegeration.\r\nEDIT:  I use this thing to get the var of Item \r\n```vim\r\nfunction! neosnippet#parser#_get_completed_snippet(completed_item, next_text) \"{{{\r\n  let item = a:completed_item\r\n\r\n  \" Set abbr\r\n  let abbr = (item.abbr != '') ? item.abbr : item.word\r\n  let g:wsdsnipw = item.word\r\n  let g:wsdsnipm= item.menu\r\n  let g:wsdsnipk =item.kind\r\n  let g:wsdsnipa =item.abbr\r\n  \" here is the code of this plugin ,and I do not change anything\r\n  let g:wsdsnip = snippet\r\n  return snippet\r\nendfunction\"}}}\r\n\r\n\r\n```\r\n### error for `< Foo,Fee>` in `()`\r\n```\r\nItem.word = forEach(\r\nItem.abbr = forEach()\r\nItem.menu = [O] default void java.util.Map.forEach(java.util.function.BiConsumer<? super java.lang.Object, ? super java.lang.Object>)\r\nItem.kind = m\r\n```\r\n\r\n```\r\n${1:#:java.util.function.BiConsumer<? super java.lang.Object}, ${2:#:? super java.lang.Object>})${3}\r\n```\r\nI think it should be \r\n```\r\n${1:#:java.util.function.BiConsumer<? super java.lang.Object, ? super java.lang.Object>})${2}\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Shougo/neosnippet.vim/issues/comments/172414071","html_url":"https://github.com/Shougo/neosnippet.vim/issues/322#issuecomment-172414071","issue_url":"https://api.github.com/repos/Shougo/neosnippet.vim/issues/322","id":172414071,"user":{"login":"Shougo","id":41495,"avatar_url":"https://avatars.githubusercontent.com/u/41495?v=3","gravatar_id":"","url":"https://api.github.com/users/Shougo","html_url":"https://github.com/Shougo","followers_url":"https://api.github.com/users/Shougo/followers","following_url":"https://api.github.com/users/Shougo/following{/other_user}","gists_url":"https://api.github.com/users/Shougo/gists{/gist_id}","starred_url":"https://api.github.com/users/Shougo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shougo/subscriptions","organizations_url":"https://api.github.com/users/Shougo/orgs","repos_url":"https://api.github.com/users/Shougo/repos","events_url":"https://api.github.com/users/Shougo/events{/privacy}","received_events_url":"https://api.github.com/users/Shougo/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T03:03:29Z","updated_at":"2016-01-18T03:03:29Z","body":"Fixed."}}