{"action":"created","issue":{"url":"https://api.github.com/repos/garbas/vim-snipmate/issues/181","labels_url":"https://api.github.com/repos/garbas/vim-snipmate/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/garbas/vim-snipmate/issues/181/comments","events_url":"https://api.github.com/repos/garbas/vim-snipmate/issues/181/events","html_url":"https://github.com/garbas/vim-snipmate/issues/181","id":55376228,"number":181,"title":"Last commit \"Rejigger some of the trigger lookup code\" broke snipmate","user":{"login":"yann-morin-1998","id":3400200,"avatar_url":"https://avatars.githubusercontent.com/u/3400200?v=3","gravatar_id":"","url":"https://api.github.com/users/yann-morin-1998","html_url":"https://github.com/yann-morin-1998","followers_url":"https://api.github.com/users/yann-morin-1998/followers","following_url":"https://api.github.com/users/yann-morin-1998/following{/other_user}","gists_url":"https://api.github.com/users/yann-morin-1998/gists{/gist_id}","starred_url":"https://api.github.com/users/yann-morin-1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yann-morin-1998/subscriptions","organizations_url":"https://api.github.com/users/yann-morin-1998/orgs","repos_url":"https://api.github.com/users/yann-morin-1998/repos","events_url":"https://api.github.com/users/yann-morin-1998/events{/privacy}","received_events_url":"https://api.github.com/users/yann-morin-1998/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-24T16:24:31Z","updated_at":"2015-01-24T22:09:43Z","closed_at":"2015-01-24T22:09:43Z","body":"I updated to latest vim-snipmate, and vim now complains a lot.\r\n\r\nThe simplest test-case is to start with an empty file, go to insert mode, and just press TAB:\r\n\r\n    Error detected while processing function snipMate#TriggerSnippet..snipMate#GetSnippetsForWordBelowCursor:\r\n    line    5:\r\n    E684: list index out of range: 0\r\n    Press ENTER or type command to continue\r\n    Error detected while processing function snipMate#TriggerSnippet..snipMate#GetSnippetsForWordBelowCursor:\r\n    line    5:\r\n    E116: Invalid arguments for function len(parts[0]) > 1\r\n    Press ENTER or type command to continue\r\n    Error detected while processing function snipMate#TriggerSnippet..snipMate#GetSnippetsForWordBelowCursor:\r\n    line    5:\r\n    E15: Invalid expression: len(parts[0]) > 1\r\n    Press ENTER or type command to continue\r\n\r\nOf course, the issue occurs about anytime one presses TAB and there is no snippet to complete, which in my case is rather more often than not.\r\n\r\nI bisected the problem, and 29c01b723 is the first bad commit. Reverting it indeed fixes the issue.\r\n\r\nRegards,\r\nYann E. MORIN."},"comment":{"url":"https://api.github.com/repos/garbas/vim-snipmate/issues/comments/71339955","html_url":"https://github.com/garbas/vim-snipmate/issues/181#issuecomment-71339955","issue_url":"https://api.github.com/repos/garbas/vim-snipmate/issues/181","id":71339955,"user":{"login":"ajzafar","id":582829,"avatar_url":"https://avatars.githubusercontent.com/u/582829?v=3","gravatar_id":"","url":"https://api.github.com/users/ajzafar","html_url":"https://github.com/ajzafar","followers_url":"https://api.github.com/users/ajzafar/followers","following_url":"https://api.github.com/users/ajzafar/following{/other_user}","gists_url":"https://api.github.com/users/ajzafar/gists{/gist_id}","starred_url":"https://api.github.com/users/ajzafar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajzafar/subscriptions","organizations_url":"https://api.github.com/users/ajzafar/orgs","repos_url":"https://api.github.com/users/ajzafar/repos","events_url":"https://api.github.com/users/ajzafar/events{/privacy}","received_events_url":"https://api.github.com/users/ajzafar/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T22:09:43Z","updated_at":"2015-01-24T22:09:43Z","body":"Alright, pushed a fix for the other problem. Thanks for the reports!"}}