diff options
| author | Jurica Bradaric <jbradaric@gmail.com> | 2016-08-27 17:57:05 +0200 | 
|---|---|---|
| committer | Jurica Bradaric <jbradaric@gmail.com> | 2016-10-07 17:07:16 +0200 | 
| commit | 50bd8297e67814b3ddbf0f274314fd2d321f63b6 (patch) | |
| tree | 35629b612e1af37562bbb4f1059add230c1f471b /src/nvim/vim.h | |
| parent | d8079e5ab7c9cb029db35f725333ea95d515e337 (diff) | |
| download | rneovim-50bd8297e67814b3ddbf0f274314fd2d321f63b6.tar.gz rneovim-50bd8297e67814b3ddbf0f274314fd2d321f63b6.tar.bz2 rneovim-50bd8297e67814b3ddbf0f274314fd2d321f63b6.zip | |
vim-patch:7.4.1895
Problem:    Cannot use a window ID where a window number is expected.
Solution:   Add LOWEST_WIN_ID, so that the window ID can be used where a
            number is expected.
https://github.com/vim/vim/commit/888ccac8902cee186fbd47e971881f6d9b19c068
Diffstat (limited to 'src/nvim/vim.h')
| -rw-r--r-- | src/nvim/vim.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 09e9e850a7..6bbd9b58ef 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -316,4 +316,7 @@ enum {  #define DIP_OPT 0x10    // also use "opt" directory in 'packpath'  #define DIP_NORTP 0x20  // do not use 'runtimepath' +// Lowest number used for window ID. Cannot have this many windows per tab. +#define LOWEST_WIN_ID 1000 +  #endif /* NVIM_VIM_H */ | 
