aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/bufwrite.h
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-04-19 13:15:29 +0100
committerGitHub <noreply@github.com>2023-04-19 13:15:29 +0100
commit7bf1a917b78ebc622b6691af9196b95b4a9d3142 (patch)
treef825ed90de47f15b3319dd354b97c3d29e4680f1 /src/nvim/bufwrite.h
parentccc939ec1080e54123fee6586b222a3fd48dffbe (diff)
downloadrneovim-7bf1a917b78ebc622b6691af9196b95b4a9d3142.tar.gz
rneovim-7bf1a917b78ebc622b6691af9196b95b4a9d3142.tar.bz2
rneovim-7bf1a917b78ebc622b6691af9196b95b4a9d3142.zip
vim-patch:8.1.2094: the fileio.c file is too big
Problem: The fileio.c file is too big. Solution: Move buf_write() to bufwrite.c. (Yegappan Lakshmanan, closes vim/vim#4990) https://github.com/vim/vim/commit/c079f0fed1c16495d726d616c5362edc04742a0d Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/bufwrite.h')
-rw-r--r--src/nvim/bufwrite.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/bufwrite.h b/src/nvim/bufwrite.h
new file mode 100644
index 0000000000..0845abf4ee
--- /dev/null
+++ b/src/nvim/bufwrite.h
@@ -0,0 +1,11 @@
+#ifndef NVIM_BUFWRITE_H
+#define NVIM_BUFWRITE_H
+
+#include "nvim/buffer_defs.h"
+#include "nvim/ex_cmds_defs.h"
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "bufwrite.h.generated.h"
+#endif
+
+#endif // NVIM_BUFWRITE_H