diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-09-01 21:31:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 21:31:38 +0800 |
commit | 12fe197cffc687cedc65259d9fd8351a25aa7792 (patch) | |
tree | 7d3e74d86ba98b50c6ecc402a54eecafe13e1eef /src/nvim/window.h | |
parent | db2e5f46f5aa5a6300395eaa9c4923835683c770 (diff) | |
parent | 689f5d604e59eba1ddab6f91b458a8163dc6629d (diff) | |
download | rneovim-12fe197cffc687cedc65259d9fd8351a25aa7792.tar.gz rneovim-12fe197cffc687cedc65259d9fd8351a25aa7792.tar.bz2 rneovim-12fe197cffc687cedc65259d9fd8351a25aa7792.zip |
Merge pull request #20040 from zeertzjq/vim-9.0.0342
vim-patch:9.0.{0342,0346}: :horizontal modifier
Diffstat (limited to 'src/nvim/window.h')
-rw-r--r-- | src/nvim/window.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/nvim/window.h b/src/nvim/window.h index b75b8abd9b..3137035b25 100644 --- a/src/nvim/window.h +++ b/src/nvim/window.h @@ -17,14 +17,15 @@ #define FNAME_UNESC 32 // remove backslashes used for escaping // arguments for win_split() -#define WSP_ROOM 1 // require enough room -#define WSP_VERT 2 // split vertically -#define WSP_TOP 4 // window at top-left of shell -#define WSP_BOT 8 // window at bottom-right of shell -#define WSP_HELP 16 // creating the help window -#define WSP_BELOW 32 // put new window below/right -#define WSP_ABOVE 64 // put new window above/left -#define WSP_NEWLOC 128 // don't copy location list +#define WSP_ROOM 0x01 // require enough room +#define WSP_VERT 0x02 // split/equalize vertically +#define WSP_HOR 0x04 // equalize horizontally +#define WSP_TOP 0x08 // window at top-left of shell +#define WSP_BOT 0x10 // window at bottom-right of shell +#define WSP_HELP 0x20 // creating the help window +#define WSP_BELOW 0x40 // put new window below/right +#define WSP_ABOVE 0x80 // put new window above/left +#define WSP_NEWLOC 0x100 // don't copy location list // Minimum screen size #define MIN_COLUMNS 12 // minimal columns for screen |