mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00:00
Remove display_erros()
do_shell() in Nvim uses the Nvim UI, not the tty directly, so display_errors() is not necessary anymore.
This commit is contained in:
@@ -1391,9 +1391,6 @@ do_shell(
|
|||||||
msg_row = Rows - 1;
|
msg_row = Rows - 1;
|
||||||
msg_col = 0;
|
msg_col = 0;
|
||||||
|
|
||||||
// display any error messages now
|
|
||||||
display_errors();
|
|
||||||
|
|
||||||
apply_autocmds(EVENT_SHELLCMDPOST, NULL, NULL, FALSE, curbuf);
|
apply_autocmds(EVENT_SHELLCMDPOST, NULL, NULL, FALSE, curbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -291,7 +291,6 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext()
|
|||||||
# define mch_errmsg(str) fprintf(stderr, "%s", (str))
|
# define mch_errmsg(str) fprintf(stderr, "%s", (str))
|
||||||
# define mch_msg(str) printf("%s", (str))
|
# define mch_msg(str) printf("%s", (str))
|
||||||
#endif
|
#endif
|
||||||
#define display_errors() fflush(stderr)
|
|
||||||
|
|
||||||
#include "nvim/globals.h" // global variables and messages
|
#include "nvim/globals.h" // global variables and messages
|
||||||
#include "nvim/buffer_defs.h" // buffer and windows
|
#include "nvim/buffer_defs.h" // buffer and windows
|
||||||
|
Reference in New Issue
Block a user