{"action":"closed","issue":{"url":"https://api.github.com/repos/Shougo/vimfiler.vim/issues/337","labels_url":"https://api.github.com/repos/Shougo/vimfiler.vim/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/vimfiler.vim/issues/337/comments","events_url":"https://api.github.com/repos/Shougo/vimfiler.vim/issues/337/events","html_url":"https://github.com/Shougo/vimfiler.vim/issues/337","id":116304873,"number":337,"title":"Vimfiler show errors when close itself","user":{"login":"markwu","id":196861,"avatar_url":"https://avatars.githubusercontent.com/u/196861?v=3","gravatar_id":"","url":"https://api.github.com/users/markwu","html_url":"https://github.com/markwu","followers_url":"https://api.github.com/users/markwu/followers","following_url":"https://api.github.com/users/markwu/following{/other_user}","gists_url":"https://api.github.com/users/markwu/gists{/gist_id}","starred_url":"https://api.github.com/users/markwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markwu/subscriptions","organizations_url":"https://api.github.com/users/markwu/orgs","repos_url":"https://api.github.com/users/markwu/repos","events_url":"https://api.github.com/users/markwu/events{/privacy}","received_events_url":"https://api.github.com/users/markwu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T10:25:05Z","updated_at":"2015-11-11T10:32:46Z","closed_at":"2015-11-11T10:32:46Z","body":"When I close vimfiler using internal shortcut `-`, it just shows `E119: Not enough arguments for function: <SNR>79_close`.\r\n\r\nI found this errors happened after recent update.\r\n\r\nHere comes the minimal vimrc for this issue.\r\n\r\nHow to reproduce this error:\r\n1. Open vimfiler with `-` defined in following vimrc\r\n2. Close vimfiler with internal shortcut `-`, then the errors occurs.\r\n\r\n```\r\nset nocompatible\r\nfiletype off\r\n\r\nlet test = 'neocomplete'\r\n\r\nset rtp+=~/.vim/bundle/neobundle.vim/\r\n\r\ncall neobundle#begin(expand('~/.vim/bundle/'))\r\n\r\nNeoBundleFetch 'Shougo/neobundle.vim'\r\nNeoBundle 'Shougo/vimproc.vim', {\r\n    \\ 'build' : {\r\n    \\     'windows' : 'make -f make_mingw32.mak',\r\n    \\     'cygwin' : 'make -f make_cygwin.mak',\r\n    \\     'mac' : 'make -f make_mac.mak',\r\n    \\     'unix' : 'make -f make_unix.mak',\r\n    \\    },\r\n    \\ }\r\n\r\nNeoBundle 'Shougo/vimfiler.vim'\r\nNeoBundle 'Shougo/unite.vim'\r\n\r\ncall neobundle#end()\r\n\r\nfiletype plugin indent on\r\n\r\nNeoBundleCheck\r\n\r\n\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\" vimfiler.vim\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\r\nlet g:vimfiler_as_default_explorer = 1\r\nlet g:vimfiler_safe_mode_by_default = 0\r\n\r\nlet g:vimfiler_tree_leaf_icon = ' '\r\nlet g:vimfiler_tree_opened_icon = '▾'\r\nlet g:vimfiler_tree_closed_icon = '▸'\r\nlet g:vimfiler_file_icon = ' '\r\nlet g:vimfiler_marked_file_icon = '✓'\r\nlet g:vimfiler_readonly_file_icon = ' '\r\n\r\nautocmd FileType vimfiler call <SID>VimfilerSetup()\r\n\r\nnnoremap - :VimFilerBufferDir -simple -find -toggle<CR>\r\n\r\nfunction! <SID>VimfilerSetup()\r\n    nnoremap <buffer> <silent> <Esc> :bd<CR>\r\n    nmap <buffer> <silent> f [unite]\r\nendfunction\r\n```"}}