{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/7471","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/7471/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/7471/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/7471/events","html_url":"https://github.com/neovim/neovim/issues/7471","id":270239992,"number":7471,"title":"Issue with build-in omnifunc, a:base is 0.","user":{"login":"wsdjeg","id":13142418,"avatar_url":"https://avatars2.githubusercontent.com/u/13142418?v=4","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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-01T09:01:45Z","updated_at":"2017-11-01T19:14:32Z","closed_at":null,"author_association":"NONE","body":"with this vim func \r\n\r\n```vim\r\nfunc Omni(findstart, base)\r\n    if a:findstart\r\n        return 5\r\n    else\r\n        echom a:base\r\n        return []\r\n    endif\r\nendf\r\n```\r\n\r\n\r\nreproduce step:\r\n\r\n1. vim test.vim\r\n2. `:so %`\r\n3. set omni=Omni\r\n4. normal `Gofind -<C-x><C-o>`\r\n5. `:message` then you will see `0`, I think the a:base should be `-` instead. \r\n\r\n**NOTE** this issue can also be reproduced in vim8"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/341209856","html_url":"https://github.com/neovim/neovim/issues/7471#issuecomment-341209856","issue_url":"https://api.github.com/repos/neovim/neovim/issues/7471","id":341209856,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars0.githubusercontent.com/u/1359421?v=4","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},"created_at":"2017-11-01T19:14:32Z","updated_at":"2017-11-01T19:14:32Z","author_association":"OWNER","body":"Doesn't it depend on 'iskeyword' ?"}}
{"actor":{"display_login":"justinmk"}}