{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5233","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5233/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5233/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5233/events","html_url":"https://github.com/neovim/neovim/issues/5233","id":172306234,"number":5233,"title":"'K' to open manpages should use better section order for code filetypes","user":{"login":"joshtriplett","id":162737,"avatar_url":"https://avatars.githubusercontent.com/u/162737?v=3","gravatar_id":"","url":"https://api.github.com/users/joshtriplett","html_url":"https://github.com/joshtriplett","followers_url":"https://api.github.com/users/joshtriplett/followers","following_url":"https://api.github.com/users/joshtriplett/following{/other_user}","gists_url":"https://api.github.com/users/joshtriplett/gists{/gist_id}","starred_url":"https://api.github.com/users/joshtriplett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshtriplett/subscriptions","organizations_url":"https://api.github.com/users/joshtriplett/orgs","repos_url":"https://api.github.com/users/joshtriplett/repos","events_url":"https://api.github.com/users/joshtriplett/events{/privacy}","received_events_url":"https://api.github.com/users/joshtriplett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-21T05:51:46Z","updated_at":"2016-08-21T11:06:29Z","closed_at":null,"body":"- `nvim --version`:\r\n```\r\nNVIM v0.1.5-642-g2dd9f33\r\nBuild type: None\r\nCompilation: /usr/lib/ccache/cc -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DDISABLE_LOG -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1  -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/tmp/neovim/build/config -I/tmp/neovim/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/tmp/neovim/build/src/nvim/auto -I/tmp/neovim/build/include\r\nCompiled by josh@x\r\n\r\nOptional features included (+) or not (-): +acl   +iconv    +jemalloc +tui      \r\nFor differences from Vim, see :help vim-differences\r\n\r\n   system vimrc file: \"$VIM/sysinit.vim\"\r\n  fall-back for $VIM: \"/usr/share/nvim\"\r\n```\r\n- Vim (version: 7.4.1829) behaves differently? No.\r\n- Operating system/version: Debian GNU/Linux latest sid\r\n- Terminal name/version: gnome-terminal 3.20.2\r\n- `$TERM`: xterm-256color\r\n\r\n### Actual behaviour\r\n\r\nIn a C program, pressing `K` on `rmdir` gives the manpage for the command-line tool rmdir in section 1, rather than the syscall in section 2.\r\n\r\n### Expected behaviour\r\n\r\nIn a C program, pressing `K` on `rmdir` should show the rmdir manpage in section 2.\r\n\r\nIn a shell script, pressing `K` on rmdir should show the rmdir manpage in section 1.\r\n\r\n### Steps to reproduce using `nvim -u NORC`\r\n\r\n```\r\nnvim -u NORC testfile.c\r\nGo into insert mode and type rmdir.\r\nHit escape\r\nPress K\r\n```"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/241251377","html_url":"https://github.com/neovim/neovim/issues/5233#issuecomment-241251377","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5233","id":241251377,"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},"created_at":"2016-08-21T11:06:29Z","updated_at":"2016-08-21T11:06:29Z","body":"Whoops fixed.\r\n\r\nI'll think about supporting it by default. In that case, I'd rather be able to specify a list of sections, e.g. 2,3 first instead of just 2 or just 3. The current plugin doesn't support this."}}
{"actor":{"display_login":"nhooyr"}}