{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/4091","labels_url":"https://api.github.com/repos/neovim/neovim/issues/4091/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/4091/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/4091/events","html_url":"https://github.com/neovim/neovim/issues/4091","id":128420911,"number":4091,"title":"Call API functions directly from vimscript","user":{"login":"bfredl","id":1363104,"avatar_url":"https://avatars.githubusercontent.com/u/1363104?v=3","gravatar_id":"","url":"https://api.github.com/users/bfredl","html_url":"https://github.com/bfredl","followers_url":"https://api.github.com/users/bfredl/followers","following_url":"https://api.github.com/users/bfredl/following{/other_user}","gists_url":"https://api.github.com/users/bfredl/gists{/gist_id}","starred_url":"https://api.github.com/users/bfredl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfredl/subscriptions","organizations_url":"https://api.github.com/users/bfredl/orgs","repos_url":"https://api.github.com/users/bfredl/repos","events_url":"https://api.github.com/users/bfredl/events{/privacy}","received_events_url":"https://api.github.com/users/bfredl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/api","name":"api","color":"c7def8"},{"url":"https://api.github.com/repos/neovim/neovim/labels/viml","name":"viml","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-01-24T19:59:32Z","updated_at":"2016-01-24T21:01:15Z","closed_at":null,"body":"In analogy with #1446 it would be useful to be able to call API functions directly from vimscript in the same instance, so that new features don't need to define both API and vimscript interfaces. Some prior discussion in #1817.\r\n\r\n@justinmk suggested we should figure out the right interface before starting work on implementation."},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/174341349","html_url":"https://github.com/neovim/neovim/issues/4091#issuecomment-174341349","issue_url":"https://api.github.com/repos/neovim/neovim/issues/4091","id":174341349,"user":{"login":"bfredl","id":1363104,"avatar_url":"https://avatars.githubusercontent.com/u/1363104?v=3","gravatar_id":"","url":"https://api.github.com/users/bfredl","html_url":"https://github.com/bfredl","followers_url":"https://api.github.com/users/bfredl/followers","following_url":"https://api.github.com/users/bfredl/following{/other_user}","gists_url":"https://api.github.com/users/bfredl/gists{/gist_id}","starred_url":"https://api.github.com/users/bfredl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfredl/subscriptions","organizations_url":"https://api.github.com/users/bfredl/orgs","repos_url":"https://api.github.com/users/bfredl/repos","events_url":"https://api.github.com/users/bfredl/events{/privacy}","received_events_url":"https://api.github.com/users/bfredl/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T21:01:15Z","updated_at":"2016-01-24T21:01:15Z","body":"Sorry for the confusion, I just meant `apicall(\"method\", ...)` should be pretty straightforward without involving msgpack (more than things that happen to be called \"`_msgpack_`\" right now)"}}