{"action":"closed","issue":{"url":"https://api.github.com/repos/Shougo/neocomplete.vim/issues/500","labels_url":"https://api.github.com/repos/Shougo/neocomplete.vim/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/neocomplete.vim/issues/500/comments","events_url":"https://api.github.com/repos/Shougo/neocomplete.vim/issues/500/events","html_url":"https://github.com/Shougo/neocomplete.vim/issues/500","id":119844289,"number":500,"title":"Lazy-Loading neocomplete.vim in NeoBundle.vim?","user":{"login":"phongvcao","id":874795,"avatar_url":"https://avatars.githubusercontent.com/u/874795?v=3","gravatar_id":"","url":"https://api.github.com/users/phongvcao","html_url":"https://github.com/phongvcao","followers_url":"https://api.github.com/users/phongvcao/followers","following_url":"https://api.github.com/users/phongvcao/following{/other_user}","gists_url":"https://api.github.com/users/phongvcao/gists{/gist_id}","starred_url":"https://api.github.com/users/phongvcao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phongvcao/subscriptions","organizations_url":"https://api.github.com/users/phongvcao/orgs","repos_url":"https://api.github.com/users/phongvcao/repos","events_url":"https://api.github.com/users/phongvcao/events{/privacy}","received_events_url":"https://api.github.com/users/phongvcao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T01:05:26Z","updated_at":"2015-12-02T07:00:06Z","closed_at":"2015-12-02T07:00:06Z","body":"I am trying to lazy-load `neocomplete.vim` in `NeoBundle.vim` by only enabling `neocomplete.vim` (`:NeoCompleteEnable`) and calling `neocomplete#start_manual_complete()` when `<Tab>` is actually pressed. Right now my `.vimrc` looks something like this:\r\n\r\n```vim\r\nNeoBundleLazy 'Shougo/neocomplete.vim', { 'on_cmd' : 'NeoCompleteEnable' }\r\nfunction EnableAndComplete()\r\n    if !neocomplete#is_enabled()\r\n        :NeoCompleteEnable\r\n    endif\r\n    call neocomplete#start_manual_complete()\r\nendfunction\r\n\r\ninoremap <expr><Tab> pumvisible() ? \"\\<C-n>\" : EnableAndComplete()\r\n```\r\n\r\nwhich looks like making sense but doesn't work. Is there anyway to lazy-load `neocomplete.vim` on pressing `<Tab>` using `NeoBundle.vim`?"}}