aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-01-05 13:06:21 -0500
committerGitHub <noreply@github.com>2023-01-05 13:06:21 -0500
commit08ebf8d3a80c65b01d493ca84ad2ab7304a669f9 (patch)
tree77f73c6e88134d702ca275e43b45f5316ba5b47e /src/nvim/vim.h
parent39d70fcafd6efa9d01b88bb90cab81c393040453 (diff)
parent628b717022815a431ea0b980444d6115c644f8c8 (diff)
downloadrneovim-08ebf8d3a80c65b01d493ca84ad2ab7304a669f9.tar.gz
rneovim-08ebf8d3a80c65b01d493ca84ad2ab7304a669f9.tar.bz2
rneovim-08ebf8d3a80c65b01d493ca84ad2ab7304a669f9.zip
Merge #18706 execute Lua with "nvim -l"
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index bfe75ef9f7..df24e423cf 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -245,12 +245,10 @@ enum { FOLD_TEXT_LEN = 51, }; //!< buffer size for get_foldtext()
/// plus six following composing characters of three bytes each.
#define MB_MAXBYTES 21
-// This has to go after the include of proto.h, as proto/gui.pro declares
-// functions of these names. The declarations would break if the defines had
-// been seen at that stage. But it must be before globals.h, where error_ga
-// is declared.
#ifndef MSWIN
+/// Headless (no UI) error message handler.
# define os_errmsg(str) fprintf(stderr, "%s", (str))
+/// Headless (no UI) message handler.
# define os_msg(str) printf("%s", (str))
#endif