{"action":"created","issue":{"url":"https://api.github.com/repos/nhooyr/neoman.vim/issues/17","repository_url":"https://api.github.com/repos/nhooyr/neoman.vim","labels_url":"https://api.github.com/repos/nhooyr/neoman.vim/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/nhooyr/neoman.vim/issues/17/comments","events_url":"https://api.github.com/repos/nhooyr/neoman.vim/issues/17/events","html_url":"https://github.com/nhooyr/neoman.vim/issues/17","id":141450275,"number":17,"title":"the last file completion is automatically selected","user":{"login":"nhooyr","id":10180857,"avatar_url":"https://avatars.githubusercontent.com/u/10180857?v=3","gravatar_id":"","url":"https://api.github.com/users/nhooyr","html_url":"https://github.com/nhooyr","followers_url":"https://api.github.com/users/nhooyr/followers","following_url":"https://api.github.com/users/nhooyr/following{/other_user}","gists_url":"https://api.github.com/users/nhooyr/gists{/gist_id}","starred_url":"https://api.github.com/users/nhooyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhooyr/subscriptions","organizations_url":"https://api.github.com/users/nhooyr/orgs","repos_url":"https://api.github.com/users/nhooyr/repos","events_url":"https://api.github.com/users/nhooyr/events{/privacy}","received_events_url":"https://api.github.com/users/nhooyr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-17T01:34:41Z","updated_at":"2016-03-20T14:48:59Z","closed_at":null,"body":"This is weird, if you type `:Nman ./<TAB>` the very last file that can be completed is automatically selected. Why?\r\n\r\nCode is very simple. \r\n\r\nhttps://github.com/nhooyr/neoman.vim/blob/master/autoload/neoman.vim#L214-L215\r\n\r\n@Corax26 this is the bug I found before, remember that commented out code in the completion function? Although that was for the man pages, not sure whats wrong here.\r\n"},"comment":{"url":"https://api.github.com/repos/nhooyr/neoman.vim/issues/comments/198944540","html_url":"https://github.com/nhooyr/neoman.vim/issues/17#issuecomment-198944540","issue_url":"https://api.github.com/repos/nhooyr/neoman.vim/issues/17","id":198944540,"user":{"login":"Corax26","id":4225573,"avatar_url":"https://avatars.githubusercontent.com/u/4225573?v=3","gravatar_id":"","url":"https://api.github.com/users/Corax26","html_url":"https://github.com/Corax26","followers_url":"https://api.github.com/users/Corax26/followers","following_url":"https://api.github.com/users/Corax26/following{/other_user}","gists_url":"https://api.github.com/users/Corax26/gists{/gist_id}","starred_url":"https://api.github.com/users/Corax26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Corax26/subscriptions","organizations_url":"https://api.github.com/users/Corax26/orgs","repos_url":"https://api.github.com/users/Corax26/repos","events_url":"https://api.github.com/users/Corax26/events{/privacy}","received_events_url":"https://api.github.com/users/Corax26/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T14:48:59Z","updated_at":"2016-03-20T14:48:59Z","body":"Well that's interesting, with vim 7.4.1529 I don't get the same behaviour! Probably something specific to Neovim, or maybe something config-dependant? I tried with an empty vimrc (so default `'completeopt'`), it completes the first one as normal."}}