diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-02 21:17:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 21:17:37 +0800 |
commit | e98decf9a68e41b09214aa60b77d0db29b7d648a (patch) | |
tree | 6a0a47d9f59209b1230637a55b10f25bb72c71d6 /src/nvim/main.c | |
parent | 1bf645918e94e7e8f770592484164f1ee303f24e (diff) | |
download | rneovim-e98decf9a68e41b09214aa60b77d0db29b7d648a.tar.gz rneovim-e98decf9a68e41b09214aa60b77d0db29b7d648a.tar.bz2 rneovim-e98decf9a68e41b09214aa60b77d0db29b7d648a.zip |
feat(quickfix): support -q - to read 'errorfile' from stdin (#27303)
Note that this only works when stdin is a pipe.
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 6d71dc618a..f858313682 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -1016,6 +1016,7 @@ static bool edit_stdin(mparm_T *parmp) && !(embedded_mode && stdin_fd <= 0) && (!exmode_active || parmp->input_istext) && !stdin_isatty + && parmp->edit_type <= EDIT_STDIN && parmp->scriptin == NULL; // `-s -` was not given. return parmp->had_stdin_file || implicit; } |