mirror of
https://github.com/neovim/neovim.git
synced 2026-07-30 12:28:06 +00:00
- Remove autocmd.h from fileio.h - Remove normal.h from main.h - Move bufinfo_T from undo_defs.h to undo.c
28 lines
925 B
C
28 lines
925 B
C
#ifndef NVIM_FILEIO_H
|
|
#define NVIM_FILEIO_H
|
|
|
|
#include "nvim/buffer_defs.h"
|
|
#include "nvim/eval/typval.h"
|
|
#include "nvim/garray.h"
|
|
#include "nvim/os/os.h"
|
|
|
|
// Values for readfile() flags
|
|
#define READ_NEW 0x01 // read a file into a new buffer
|
|
#define READ_FILTER 0x02 // read filter output
|
|
#define READ_STDIN 0x04 // read from stdin
|
|
#define READ_BUFFER 0x08 // read from curbuf (converting stdin)
|
|
#define READ_DUMMY 0x10 // reading into a dummy buffer
|
|
#define READ_KEEP_UNDO 0x20 // keep undo info
|
|
#define READ_FIFO 0x40 // read from fifo or socket
|
|
#define READ_NOWINENTER 0x80 // do not trigger BufWinEnter
|
|
|
|
#define READ_STRING(x, y) (char_u *)read_string((x), (size_t)(y))
|
|
|
|
typedef varnumber_T (*CheckItem)(void *expr, const char *name);
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
// Events for autocommands
|
|
# include "fileio.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_FILEIO_H
|