diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-29 20:32:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 20:32:40 +0800 |
commit | a6cba103cebce535279db197f9efeb34e9d1171f (patch) | |
tree | 17a8d9b4ecabf8e2c02c07e18b81c85f2e7c429f /src/nvim/window.h | |
parent | f4001d27efae44c6c07678ad2c72eed5f1a25ea8 (diff) | |
download | rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.tar.gz rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.tar.bz2 rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.zip |
refactor: move some constants out of vim_defs.h (#26298)
Diffstat (limited to 'src/nvim/window.h')
-rw-r--r-- | src/nvim/window.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nvim/window.h b/src/nvim/window.h index 39dd7f8766..3650fef46e 100644 --- a/src/nvim/window.h +++ b/src/nvim/window.h @@ -32,12 +32,15 @@ enum { WSP_NEWLOC = 0x100, ///< don't copy location list }; -/// Minimum screen size enum { - MIN_COLUMNS = 12, ///< minimal columns for screen - MIN_LINES = 2, ///< minimal lines for screen + MIN_COLUMNS = 12, ///< minimal columns for screen + MIN_LINES = 2, ///< minimal lines for screen + STATUS_HEIGHT = 1, ///< height of a status line under a window }; +/// Lowest number used for window ID. Cannot have this many windows per tab. +enum { LOWEST_WIN_ID = 1000, }; + /// Set to true if 'cmdheight' was explicitly set to 0. EXTERN bool p_ch_was_zero INIT( = false); |