{"action":"created","issue":{"url":"https://api.github.com/repos/Shougo/unite.vim/issues/1066","labels_url":"https://api.github.com/repos/Shougo/unite.vim/issues/1066/labels{/name}","comments_url":"https://api.github.com/repos/Shougo/unite.vim/issues/1066/comments","events_url":"https://api.github.com/repos/Shougo/unite.vim/issues/1066/events","html_url":"https://github.com/Shougo/unite.vim/issues/1066","id":116781729,"number":1066,"title":"`g:unite_source_rec_async_command` setting is not repsected","user":{"login":"aandrieiev","id":2803960,"avatar_url":"https://avatars.githubusercontent.com/u/2803960?v=3","gravatar_id":"","url":"https://api.github.com/users/aandrieiev","html_url":"https://github.com/aandrieiev","followers_url":"https://api.github.com/users/aandrieiev/followers","following_url":"https://api.github.com/users/aandrieiev/following{/other_user}","gists_url":"https://api.github.com/users/aandrieiev/gists{/gist_id}","starred_url":"https://api.github.com/users/aandrieiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aandrieiev/subscriptions","organizations_url":"https://api.github.com/users/aandrieiev/orgs","repos_url":"https://api.github.com/users/aandrieiev/repos","events_url":"https://api.github.com/users/aandrieiev/events{/privacy}","received_events_url":"https://api.github.com/users/aandrieiev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T14:49:41Z","updated_at":"2015-11-13T21:45:43Z","closed_at":"2015-11-13T21:45:43Z","body":"* Summary:\r\nSetting `g:unite_source_rec_async_command` to a custom search command makes no difference to search output. The list of candidates returned looks the same as with the default `find` and contains the same number of candidates (in my case, 1220) as before the change\r\n\r\n* Expected:\r\nSetting it to a custom command changes the output. For example it has to return exactly the same number of files as running the custom command from command line, e.g. `$ ag --follow --nogroup --nocolor --hidden -g \"\" | wc -l => 1241`\r\n\r\n* Environment Information:\r\n * OS: OS X 10.11; Ubuntu 14.04\r\n * Vim version: 7.4.903; 7.4.52; \r\n\r\n* Minimal vimrc less than 50 lines:\r\n\r\n```\r\nset nocompatible\r\nset rtp+=~/.vim/bundle/neobundle.vim\r\ncall neobundle#begin(expand('~/.vim/bundle/'))\r\n\r\nNeoBundle 'Shougo/unite.vim'\r\n\r\nNeoBundle 'Shougo/vimproc.vim', {\r\n      \\ 'build' : {\r\n      \\     'mac' : 'make',\r\n      \\     'linux' : 'make'\r\n      \\    },\r\n      \\ }\r\n\r\ncall neobundle#end()\r\nfiletype plugin indent on\r\nNeoBundleCheck\r\n\r\nlet g:unite_source_rec_neovim_command =\r\n    \\ ['ag', '--follow', '--nogroup', '--nocolor', '--hidden', '-g', '']\r\n\r\nlet mapleader=\"\\<Space>\"\r\nnnoremap <leader>f :<C-u>Unite -start-insert file_rec/async<CR>\r\n```\r\n\r\n* How to reproduce:\r\n\r\n 0. Start Vim \r\n 1. Press space+f \r\n 2. See the candidate list and their overall number\r\n\r\n* Screen shot:\r\n![Screenshot](http://imgur.com/GQg0hT8.png)\r\n\r\n* Extra notes:\r\nThe number of files is used as an example to demonstrate the issue. In bigger projects ack/ag/pt are the only means to easily respect .gitignore in order to keep the number of candidates sane. But since it's currently impossible to use them, default `find` returns literally everything which leads to significant delays."},"comment":{"url":"https://api.github.com/repos/Shougo/unite.vim/issues/comments/156567226","html_url":"https://github.com/Shougo/unite.vim/issues/1066#issuecomment-156567226","issue_url":"https://api.github.com/repos/Shougo/unite.vim/issues/1066","id":156567226,"user":{"login":"Shougo","id":41495,"avatar_url":"https://avatars.githubusercontent.com/u/41495?v=3","gravatar_id":"","url":"https://api.github.com/users/Shougo","html_url":"https://github.com/Shougo","followers_url":"https://api.github.com/users/Shougo/followers","following_url":"https://api.github.com/users/Shougo/following{/other_user}","gists_url":"https://api.github.com/users/Shougo/gists{/gist_id}","starred_url":"https://api.github.com/users/Shougo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shougo/subscriptions","organizations_url":"https://api.github.com/users/Shougo/orgs","repos_url":"https://api.github.com/users/Shougo/repos","events_url":"https://api.github.com/users/Shougo/events{/privacy}","received_events_url":"https://api.github.com/users/Shougo/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T21:45:43Z","updated_at":"2015-11-13T21:45:43Z","body":"`g:unite_source_rec_async_command` is correct variable name.\r\n\r\n```vim\r\nlet g:unite_source_rec_async_command =\r\n    \\ ['ag', '--follow', '--nogroup', '--nocolor', '--hidden', '-g', '']\r\n```"}}