{"action":"created","issue":{"url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/414","labels_url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/414/comments","events_url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/414/events","html_url":"https://github.com/Shougo/neobundle.vim/issues/414","id":103977232,"number":414,"title":"NeoBundleDisable not working","user":{"login":"paulhybryant","id":473349,"avatar_url":"https://avatars.githubusercontent.com/u/473349?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhybryant","html_url":"https://github.com/paulhybryant","followers_url":"https://api.github.com/users/paulhybryant/followers","following_url":"https://api.github.com/users/paulhybryant/following{/other_user}","gists_url":"https://api.github.com/users/paulhybryant/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhybryant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhybryant/subscriptions","organizations_url":"https://api.github.com/users/paulhybryant/orgs","repos_url":"https://api.github.com/users/paulhybryant/repos","events_url":"https://api.github.com/users/paulhybryant/events{/privacy}","received_events_url":"https://api.github.com/users/paulhybryant/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-31T03:05:23Z","updated_at":"2015-09-02T10:32:30Z","closed_at":"2015-08-31T13:41:09Z","body":"Example:\r\n\r\n...\r\nNeoBundle 'Raimondi/delimitMate'\r\nNeoBundleDisable 'delimitMate'\r\n...\r\ncall neobundle#end()\r\n\r\nThe disabled bundle will still be sourced."},"comment":{"url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/comments/137019792","html_url":"https://github.com/Shougo/neobundle.vim/issues/414#issuecomment-137019792","issue_url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/414","id":137019792,"user":{"login":"symbolix","id":474655,"avatar_url":"https://avatars.githubusercontent.com/u/474655?v=3","gravatar_id":"","url":"https://api.github.com/users/symbolix","html_url":"https://github.com/symbolix","followers_url":"https://api.github.com/users/symbolix/followers","following_url":"https://api.github.com/users/symbolix/following{/other_user}","gists_url":"https://api.github.com/users/symbolix/gists{/gist_id}","starred_url":"https://api.github.com/users/symbolix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symbolix/subscriptions","organizations_url":"https://api.github.com/users/symbolix/orgs","repos_url":"https://api.github.com/users/symbolix/repos","events_url":"https://api.github.com/users/symbolix/events{/privacy}","received_events_url":"https://api.github.com/users/symbolix/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T10:32:30Z","updated_at":"2015-09-02T10:32:30Z","body":"Hi Shogu,\r\n\r\nThanks for the explanation and the example.\r\n\r\n> No. But it should be.\r\n\r\nSo, is it possible to perform the *disable* operation inside a function or does it have to always be at startup?\r\n\r\n    function! myPlugin#disablePlugins()\r\n    call neobundle#begin(expand('~/.vim/bundle'))\r\n\r\n    for bundle in ['banana', 'apple', 'house', 'foo']\r\n        execute 'NeoBundleDisable' bundle\r\n    endfor\r\n    \r\n    call neobundle#end()\r\n    endfunction\r\n\r\n"}}