mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
vim-patch:9.0.1293: the set_num_option() is too long
Problem: The set_num_option() is too long.
Solution: Move code to separate functions. (Yegappan Lakshmanan,
closes vim/vim#11954)
0caaf1e465
This commit is contained in:
@@ -6098,7 +6098,7 @@ static void frame_setwidth(frame_T *curfrp, int width)
|
||||
}
|
||||
|
||||
// Check 'winminheight' for a valid value and reduce it if needed.
|
||||
void win_setminheight(void)
|
||||
void did_set_winminheight(void)
|
||||
{
|
||||
bool first = true;
|
||||
|
||||
@@ -6118,7 +6118,7 @@ void win_setminheight(void)
|
||||
}
|
||||
|
||||
// Check 'winminwidth' for a valid value and reduce it if needed.
|
||||
void win_setminwidth(void)
|
||||
void did_set_winminwidth(void)
|
||||
{
|
||||
bool first = true;
|
||||
|
||||
|
Reference in New Issue
Block a user