{"action":"opened","issue":{"url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/408","labels_url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/408/comments","events_url":"https://api.github.com/repos/Shougo/neobundle.vim/issues/408/events","html_url":"https://github.com/Shougo/neobundle.vim/issues/408","id":102538289,"number":408,"title":"autoload issue with vimfiler","user":{"login":"petobens","id":2583971,"avatar_url":"https://avatars.githubusercontent.com/u/2583971?v=3","gravatar_id":"","url":"https://api.github.com/users/petobens","html_url":"https://github.com/petobens","followers_url":"https://api.github.com/users/petobens/followers","following_url":"https://api.github.com/users/petobens/following{/other_user}","gists_url":"https://api.github.com/users/petobens/gists{/gist_id}","starred_url":"https://api.github.com/users/petobens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petobens/subscriptions","organizations_url":"https://api.github.com/users/petobens/orgs","repos_url":"https://api.github.com/users/petobens/repos","events_url":"https://api.github.com/users/petobens/events{/privacy}","received_events_url":"https://api.github.com/users/petobens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-22T13:51:18Z","updated_at":"2015-08-22T13:51:18Z","closed_at":null,"body":"Consider the following minimal vimrc:\r\n\r\n```vim\r\nset nocompatible\r\n\r\nlet $ONEDRIVE_HOME = expand('C:/OD/Users/Pedro')\r\nlet $DOTVIM = expand('$ONEDRIVE_HOME/vimfiles')\r\n\r\n\r\nif has('vim_starting')\r\n    execute 'set runtimepath+=' . expand('$DOTVIM/bundle/neobundle')\r\nendif\r\ncall neobundle#begin(expand('$DOTVIM/bundle/'))\r\nNeoBundleFetch 'Shougo/neobundle.vim', {'name' : 'neobundle'}\r\nNeoBundle 'Shougo/vimfiler', {'lazy' : 1, 'autoload' : {\r\n        \\ 'commands' : ['VimFilerBufferDir', 'VimFiler',\r\n        \\ 'VimFilerCreate', 'VimFilerTab'],\r\n        \\ 'explorer' : 1\r\n        \\ }\r\n        \\ }\r\ncall neobundle#end()\r\n\r\nfiletype plugin indent on\r\n\r\ncall vimfiler#custom#profile('default', 'context', {\r\n            \\ 'direction' : 'topleft'})\r\ncall vimfiler#set_execute_file('pdf,PDF', 'SumatraPDF')\r\n```\r\n\r\nNow open Gvim. You will get the following error:\r\n\r\n![screenshot-22-08-2015_10-47-43](https://cloud.githubusercontent.com/assets/2583971/9424231/44f5775e-48bb-11e5-8f49-d7cfa1536355.png)\r\n\r\nI think the problem might be related to the recent changes in autoload function.\r\n\r\n"}}