diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-28 23:40:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 23:40:34 +0800 |
commit | 233b858f2a2f3b57d07675e2de45736da36709e8 (patch) | |
tree | a8aef6d891e43fb68672d17d924b9d9bf3f6b88b /src/nvim/window.c | |
parent | ca7e488cfeb16b3eb2faf9613718f17d28f0f005 (diff) | |
parent | 2722bff0f35bb4b69a297f8b4fae17661bbfe26f (diff) | |
download | rneovim-233b858f2a2f3b57d07675e2de45736da36709e8.tar.gz rneovim-233b858f2a2f3b57d07675e2de45736da36709e8.tar.bz2 rneovim-233b858f2a2f3b57d07675e2de45736da36709e8.zip |
Merge pull request #23162 from lewis6991/vimpatch/option_cb
vim-patch:9.0.{1330,1345,1353,1359,1369,1374}: handling new value of an option has a long "else if" chain
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 88d9b95208..2e037aa699 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -6089,7 +6089,7 @@ static void frame_setwidth(frame_T *curfrp, int width) } // Check 'winminheight' for a valid value and reduce it if needed. -void did_set_winminheight(void) +const char *did_set_winminheight(optset_T *args FUNC_ATTR_UNUSED) { bool first = true; @@ -6106,10 +6106,11 @@ void did_set_winminheight(void) first = false; } } + return NULL; } // Check 'winminwidth' for a valid value and reduce it if needed. -void did_set_winminwidth(void) +const char *did_set_winminwidth(optset_T *args FUNC_ATTR_UNUSED) { bool first = true; @@ -6126,6 +6127,7 @@ void did_set_winminwidth(void) first = false; } } + return NULL; } /// Status line of dragwin is dragged "offset" lines down (negative is up). |