mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
readfile(): Remove "Reading from stdin..." #6298
This commit is contained in:
parent
c6b3975774
commit
bdcb2a38b3
@ -700,16 +700,9 @@ readfile (
|
|||||||
wasempty = (curbuf->b_ml.ml_flags & ML_EMPTY);
|
wasempty = (curbuf->b_ml.ml_flags & ML_EMPTY);
|
||||||
|
|
||||||
if (!recoverymode && !filtering && !(flags & READ_DUMMY)) {
|
if (!recoverymode && !filtering && !(flags & READ_DUMMY)) {
|
||||||
/*
|
if (!read_stdin && !read_buffer) {
|
||||||
* Show the user that we are busy reading the input. Sometimes this
|
|
||||||
* may take a while. When reading from stdin another program may
|
|
||||||
* still be running, don't move the cursor to the last line, unless
|
|
||||||
* always using the GUI.
|
|
||||||
*/
|
|
||||||
if (read_stdin) {
|
|
||||||
mch_msg(_("Nvim: Reading from stdin...\n"));
|
|
||||||
} else if (!read_buffer)
|
|
||||||
filemess(curbuf, sfname, (char_u *)"", 0);
|
filemess(curbuf, sfname, (char_u *)"", 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
msg_scroll = FALSE; /* overwrite the file message */
|
msg_scroll = FALSE; /* overwrite the file message */
|
||||||
|
Loading…
Reference in New Issue
Block a user