{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5404","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5404/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5404/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5404/events","html_url":"https://github.com/neovim/neovim/issues/5404","id":180004445,"number":5404,"title":"v:count broken in command-line window","user":{"login":"HarmtH","id":2418402,"avatar_url":"https://avatars.githubusercontent.com/u/2418402?v=3","gravatar_id":"","url":"https://api.github.com/users/HarmtH","html_url":"https://github.com/HarmtH","followers_url":"https://api.github.com/users/HarmtH/followers","following_url":"https://api.github.com/users/HarmtH/following{/other_user}","gists_url":"https://api.github.com/users/HarmtH/gists{/gist_id}","starred_url":"https://api.github.com/users/HarmtH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarmtH/subscriptions","organizations_url":"https://api.github.com/users/HarmtH/orgs","repos_url":"https://api.github.com/users/HarmtH/repos","events_url":"https://api.github.com/users/HarmtH/events{/privacy}","received_events_url":"https://api.github.com/users/HarmtH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"f9d0c4"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T09:57:20Z","updated_at":"2016-09-29T13:56:24Z","closed_at":null,"body":"- `nvim --version`: NVIM v0.1.6-175-g7246750\r\n- Vim (version: 8.0.17) behaves differently? yes\r\n- Operating system/version: Ubuntu 14.04\r\n- Terminal name/version: n/a\r\n- `$TERM`: n/a\r\n\r\n### Actual behaviour\r\nv:count always return 0 in command-line window\r\nv:count1 always return 1 in command-line window\r\n\r\n### Expected behaviour\r\nv:count returns given count in command-line window, or 0 when no count given\r\nv:count1 returns given count in command-line window, or 1 when no count given\r\n\r\n### Steps to reproduce using `nvim -u NORC`\r\n\r\n\r\n```\r\nnvim -u NORC\r\n:map _x :<C-U>echo \"the count is \" . v:count<CR>\r\nq:\r\n3_x\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/250473043","html_url":"https://github.com/neovim/neovim/issues/5404#issuecomment-250473043","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5404","id":250473043,"user":{"login":"jamessan","id":112971,"avatar_url":"https://avatars.githubusercontent.com/u/112971?v=3","gravatar_id":"","url":"https://api.github.com/users/jamessan","html_url":"https://github.com/jamessan","followers_url":"https://api.github.com/users/jamessan/followers","following_url":"https://api.github.com/users/jamessan/following{/other_user}","gists_url":"https://api.github.com/users/jamessan/gists{/gist_id}","starred_url":"https://api.github.com/users/jamessan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamessan/subscriptions","organizations_url":"https://api.github.com/users/jamessan/orgs","repos_url":"https://api.github.com/users/jamessan/repos","events_url":"https://api.github.com/users/jamessan/events{/privacy}","received_events_url":"https://api.github.com/users/jamessan/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T13:56:24Z","updated_at":"2016-09-29T13:56:24Z","body":"I've confirmed the problem.  It exists at least as far back as 0.1.1 and works correctly in Vim 7.3.001, so it's not a missing patch.  We've regressed somewhere."}}
{"actor":{"display_login":"jamessan"}}