1#ifndef NVIM_WINDOW_H
2#define NVIM_WINDOW_H
3
4#include <stdbool.h>
5
6#include "nvim/buffer_defs.h"
7
8/* Values for file_name_in_line() */
9#define FNAME_MESS 1 /* give error message */
10#define FNAME_EXP 2 /* expand to path */
11#define FNAME_HYP 4 /* check for hypertext link */
12#define FNAME_INCL 8 /* apply 'includeexpr' */
13#define FNAME_REL 16 /* ".." and "./" are relative to the (current)
14 file instead of the current directory */
15#define FNAME_UNESC 32 // remove backslashes used for escaping
16
17/*
18 * arguments for win_split()
19 */
20#define WSP_ROOM 1 /* require enough room */
21#define WSP_VERT 2 /* split vertically */
22#define WSP_TOP 4 /* window at top-left of shell */
23#define WSP_BOT 8 /* window at bottom-right of shell */
24#define WSP_HELP 16 /* creating the help window */
25#define WSP_BELOW 32 /* put new window below/right */
26#define WSP_ABOVE 64 /* put new window above/left */
27#define WSP_NEWLOC 128 /* don't copy location list */
28
29/*
30 * Minimum screen size
31 */
32#define MIN_COLUMNS 12 /* minimal columns for screen */
33#define MIN_LINES 2 /* minimal lines for screen */
34
35#ifdef INCLUDE_GENERATED_DECLARATIONS
36# include "window.h.generated.h"
37#endif
38#endif // NVIM_WINDOW_H
39