|
4 | 4 | "assignees": [], |
5 | 5 | "author_association": "NONE", |
6 | 6 | "body": "Hey there!\r\n\r\nI'm using neovim as manpager (as described in `:h man` -> `MANPAGER='nvim +Man!'`) and while it works great, I ran into an issue using fish-shells' `Alt+h`/`F1` functionality. This shortcut jumps directly into the man page of the command under the cursor. Using it, neovim flashes up and it seems it tries to execute a lot of commands (they're all failing with `E21: Cannot make changes, 'modifiable' is off`, which is expected with `+Man!`).\r\n\r\nAfter looking at the [fish function](https://github.com/fish-shell/fish-shell/blob/master/share/functions/__fish_man_page.fish) I pinned it down to using `man` with a redirection: `man ls 2>/dev/null`, or more generally: `echo \"foo\" | nvim -u NORC 2>/dev/null`.\r\n\r\nstderr of `man ls 2>./log`:\r\n```\r\nVim: Error reading input, exiting...\r\n\r\nVim: Finished.\r\nman: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\\%.. (press h for help or q to quit)$PM Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\\%.. (press h for help or q to quit)$ MAN_PN=ls(1) nvim +Man!\r\n```\r\n\r\nstderr of `echo \"foo\" | nvim -u NORC 2>./log`:\r\n```\r\nVim: Error reading input, exiting...\r\n\r\nVim: preserving files...\r\nVim: Finished.\r\n```\r\n\r\nWith vim as manpager (`MANPAGER=\"vim -M +MANPAGER -\"`) it behaves more or less the same, but outputs some errors/warnings to stdout, too.\r\n\r\n- `nvim --version`: NVIM v0.5.0-dev+1055-g8950f4e94\r\n- `vim -u DEFAULTS` (version: 8.2) behaves differently? very similar\r\n- Operating system/version: Arch Linux\r\n- Terminal name/version: alacritty\r\n- `$TERM`: tmux-256color\r\n\r\n### Steps to reproduce\r\n\r\n```sh\r\n# set nvim as manpager\r\n# bash: `export MANPAGER='nvim +Man!'`\r\n# fish: `set -x MANPAGER \"nvim +Man!\"`\r\nman ls 2>/dev/null\r\n# or\r\necho \"foo\" | nvim -u NORC 2>/dev/null\r\n```\r\n\r\n### Actual behaviour\r\n\r\n* nvim starts\r\n* nvim tries to execute commands, failing with `E21: Cannot make changes, 'modifiable' is off`\r\n* nvim closes\r\n\r\n### Expected behaviour\r\n\r\n* nvim opens man page/piped text\r\n* errors are redirected\r\n", |
7 | | - "closed_at": null, |
8 | | - "closed_by": null, |
9 | | - "comment_data": [], |
10 | | - "comments": 0, |
| 7 | + "closed_at": "2026-04-18T15:49:58Z", |
| 8 | + "closed_by": { |
| 9 | + "avatar_url": "https://avatars.githubusercontent.com/u/1359421?v=4", |
| 10 | + "events_url": "https://api.github.com/users/justinmk/events{/privacy}", |
| 11 | + "followers_url": "https://api.github.com/users/justinmk/followers", |
| 12 | + "following_url": "https://api.github.com/users/justinmk/following{/other_user}", |
| 13 | + "gists_url": "https://api.github.com/users/justinmk/gists{/gist_id}", |
| 14 | + "gravatar_id": "", |
| 15 | + "html_url": "https://github.com/justinmk", |
| 16 | + "id": 1359421, |
| 17 | + "login": "justinmk", |
| 18 | + "node_id": "MDQ6VXNlcjEzNTk0MjE=", |
| 19 | + "organizations_url": "https://api.github.com/users/justinmk/orgs", |
| 20 | + "received_events_url": "https://api.github.com/users/justinmk/received_events", |
| 21 | + "repos_url": "https://api.github.com/users/justinmk/repos", |
| 22 | + "site_admin": false, |
| 23 | + "starred_url": "https://api.github.com/users/justinmk/starred{/owner}{/repo}", |
| 24 | + "subscriptions_url": "https://api.github.com/users/justinmk/subscriptions", |
| 25 | + "type": "User", |
| 26 | + "url": "https://api.github.com/users/justinmk", |
| 27 | + "user_view_type": "public" |
| 28 | + }, |
| 29 | + "comment_data": [ |
| 30 | + { |
| 31 | + "author_association": "MEMBER", |
| 32 | + "body": "`man ls 2>/dev/null` works for me in Nvim 0.12\n\nand `echo \"foo\" | nvim -u NORC 2>/dev/null` starts Nvim with a buffer 1 contents \"foo\".", |
| 33 | + "created_at": "2026-04-18T15:49:58Z", |
| 34 | + "html_url": "https://github.com/neovim/neovim/issues/13845#issuecomment-4274037719", |
| 35 | + "id": 4274037719, |
| 36 | + "issue_url": "https://api.github.com/repos/neovim/neovim/issues/13845", |
| 37 | + "node_id": "IC_kwDOAPphoM7-wKPX", |
| 38 | + "performed_via_github_app": null, |
| 39 | + "pin": null, |
| 40 | + "reactions": { |
| 41 | + "+1": 0, |
| 42 | + "-1": 0, |
| 43 | + "confused": 0, |
| 44 | + "eyes": 0, |
| 45 | + "heart": 0, |
| 46 | + "hooray": 0, |
| 47 | + "laugh": 0, |
| 48 | + "rocket": 0, |
| 49 | + "total_count": 0, |
| 50 | + "url": "https://api.github.com/repos/neovim/neovim/issues/comments/4274037719/reactions" |
| 51 | + }, |
| 52 | + "updated_at": "2026-04-18T15:49:58Z", |
| 53 | + "url": "https://api.github.com/repos/neovim/neovim/issues/comments/4274037719", |
| 54 | + "user": { |
| 55 | + "avatar_url": "https://avatars.githubusercontent.com/u/1359421?v=4", |
| 56 | + "events_url": "https://api.github.com/users/justinmk/events{/privacy}", |
| 57 | + "followers_url": "https://api.github.com/users/justinmk/followers", |
| 58 | + "following_url": "https://api.github.com/users/justinmk/following{/other_user}", |
| 59 | + "gists_url": "https://api.github.com/users/justinmk/gists{/gist_id}", |
| 60 | + "gravatar_id": "", |
| 61 | + "html_url": "https://github.com/justinmk", |
| 62 | + "id": 1359421, |
| 63 | + "login": "justinmk", |
| 64 | + "node_id": "MDQ6VXNlcjEzNTk0MjE=", |
| 65 | + "organizations_url": "https://api.github.com/users/justinmk/orgs", |
| 66 | + "received_events_url": "https://api.github.com/users/justinmk/received_events", |
| 67 | + "repos_url": "https://api.github.com/users/justinmk/repos", |
| 68 | + "site_admin": false, |
| 69 | + "starred_url": "https://api.github.com/users/justinmk/starred{/owner}{/repo}", |
| 70 | + "subscriptions_url": "https://api.github.com/users/justinmk/subscriptions", |
| 71 | + "type": "User", |
| 72 | + "url": "https://api.github.com/users/justinmk", |
| 73 | + "user_view_type": "public" |
| 74 | + } |
| 75 | + }, |
| 76 | + { |
| 77 | + "author_association": "NONE", |
| 78 | + "body": "Thanks for taking a look. I can confirm it works with 0.12, also with `Alt-h`/`F1` in Fish.", |
| 79 | + "created_at": "2026-04-18T18:52:41Z", |
| 80 | + "html_url": "https://github.com/neovim/neovim/issues/13845#issuecomment-4274358888", |
| 81 | + "id": 4274358888, |
| 82 | + "issue_url": "https://api.github.com/repos/neovim/neovim/issues/13845", |
| 83 | + "node_id": "IC_kwDOAPphoM7-xYpo", |
| 84 | + "performed_via_github_app": null, |
| 85 | + "pin": null, |
| 86 | + "reactions": { |
| 87 | + "+1": 0, |
| 88 | + "-1": 0, |
| 89 | + "confused": 0, |
| 90 | + "eyes": 0, |
| 91 | + "heart": 0, |
| 92 | + "hooray": 1, |
| 93 | + "laugh": 0, |
| 94 | + "rocket": 0, |
| 95 | + "total_count": 1, |
| 96 | + "url": "https://api.github.com/repos/neovim/neovim/issues/comments/4274358888/reactions" |
| 97 | + }, |
| 98 | + "updated_at": "2026-04-18T18:52:41Z", |
| 99 | + "url": "https://api.github.com/repos/neovim/neovim/issues/comments/4274358888", |
| 100 | + "user": { |
| 101 | + "avatar_url": "https://avatars.githubusercontent.com/u/4730455?v=4", |
| 102 | + "events_url": "https://api.github.com/users/ybc37/events{/privacy}", |
| 103 | + "followers_url": "https://api.github.com/users/ybc37/followers", |
| 104 | + "following_url": "https://api.github.com/users/ybc37/following{/other_user}", |
| 105 | + "gists_url": "https://api.github.com/users/ybc37/gists{/gist_id}", |
| 106 | + "gravatar_id": "", |
| 107 | + "html_url": "https://github.com/ybc37", |
| 108 | + "id": 4730455, |
| 109 | + "login": "ybc37", |
| 110 | + "node_id": "MDQ6VXNlcjQ3MzA0NTU=", |
| 111 | + "organizations_url": "https://api.github.com/users/ybc37/orgs", |
| 112 | + "received_events_url": "https://api.github.com/users/ybc37/received_events", |
| 113 | + "repos_url": "https://api.github.com/users/ybc37/repos", |
| 114 | + "site_admin": false, |
| 115 | + "starred_url": "https://api.github.com/users/ybc37/starred{/owner}{/repo}", |
| 116 | + "subscriptions_url": "https://api.github.com/users/ybc37/subscriptions", |
| 117 | + "type": "User", |
| 118 | + "url": "https://api.github.com/users/ybc37", |
| 119 | + "user_view_type": "public" |
| 120 | + } |
| 121 | + } |
| 122 | + ], |
| 123 | + "comments": 2, |
11 | 124 | "comments_url": "https://api.github.com/repos/neovim/neovim/issues/13845/comments", |
12 | 125 | "created_at": "2021-01-29T12:44:44Z", |
13 | 126 | "events_url": "https://api.github.com/repos/neovim/neovim/issues/13845/events", |
14 | 127 | "html_url": "https://github.com/neovim/neovim/issues/13845", |
15 | 128 | "id": 796853360, |
| 129 | + "issue_dependencies_summary": { |
| 130 | + "blocked_by": 0, |
| 131 | + "blocking": 0, |
| 132 | + "total_blocked_by": 0, |
| 133 | + "total_blocking": 0 |
| 134 | + }, |
16 | 135 | "labels": [ |
17 | 136 | { |
18 | 137 | "color": "c5def5", |
|
39 | 158 | "node_id": "MDU6SXNzdWU3OTY4NTMzNjA=", |
40 | 159 | "number": 13845, |
41 | 160 | "performed_via_github_app": null, |
| 161 | + "pinned_comment": null, |
42 | 162 | "reactions": { |
43 | 163 | "+1": 0, |
44 | 164 | "-1": 0, |
|
52 | 172 | "url": "https://api.github.com/repos/neovim/neovim/issues/13845/reactions" |
53 | 173 | }, |
54 | 174 | "repository_url": "https://api.github.com/repos/neovim/neovim", |
55 | | - "state": "open", |
56 | | - "state_reason": null, |
| 175 | + "state": "closed", |
| 176 | + "state_reason": "completed", |
57 | 177 | "sub_issues_summary": { |
58 | 178 | "completed": 0, |
59 | 179 | "percent_completed": 0, |
|
71 | 191 | "node_id": "IT_kwDOAGK_Pc4ACRyr", |
72 | 192 | "updated_at": "2024-07-26T10:12:30Z" |
73 | 193 | }, |
74 | | - "updated_at": "2025-07-02T08:36:16Z", |
| 194 | + "updated_at": "2026-04-18T18:52:42Z", |
75 | 195 | "url": "https://api.github.com/repos/neovim/neovim/issues/13845", |
76 | 196 | "user": { |
77 | 197 | "avatar_url": "https://avatars.githubusercontent.com/u/4730455?v=4", |
|
0 commit comments