robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
e51f5e17e1
master
1#pragma once 2 3#include <stdbool.h> 4 5#include "nvim/buffer_defs.h" // IWYU pragma: keep 6#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep 7#include "nvim/garray_defs.h" // IWYU pragma: keep 8#include "nvim/macros_defs.h" 9#include "nvim/option_defs.h" // IWYU pragma: keep 10#include "nvim/types_defs.h" // IWYU pragma: keep 11 12/// arguments for win_split() 13enum { 14WSP_ROOM = 0x01 ,///< require enough room 15WSP_VERT = 0x02 ,///< split/equalize vertically 16WSP_HOR = 0x04 ,///< equalize horizontally 17WSP_TOP = 0x08 ,///< window at top-left of shell 18WSP_BOT = 0x10 ,///< window at bottom-right of shell 19WSP_HELP = 0x20 ,///< creating the help window 20WSP_BELOW = 0x40 ,///< put new window below/right 21WSP_ABOVE = 0x80 ,///< put new window above/left 22WSP_NEWLOC = 0x100 ,///< don't copy location list 23WSP_NOENTER = 0x200 ,///< don't enter the new window 24WSP_QUICKFIX = 0x400 ,///< creating the quickfix window 25}; 26 27enum { 28MIN_COLUMNS = 12 ,///< minimal columns for screen 29MIN_LINES = 2 ,///< minimal lines for screen 30STATUS_HEIGHT = 1 ,///< height of a status line under a window 31}; 32 33enum { 34/// Lowest number used for window ID. Cannot have this many windows per tab. 35LOWEST_WIN_ID = 1000 , 36}; 37 38EXTERN int tabpage_move_disallowed INIT (= 0 );///< moving tabpages around disallowed 39 40#include "window.h.generated.h"