mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
refactor(optionstr.c): break up did_set_string_option 7
This commit is contained in:
@@ -4508,15 +4508,15 @@ void reset_modifiable(void)
|
||||
}
|
||||
|
||||
/// Set the global value for 'iminsert' to the local value.
|
||||
void set_iminsert_global(void)
|
||||
void set_iminsert_global(buf_T *buf)
|
||||
{
|
||||
p_iminsert = curbuf->b_p_iminsert;
|
||||
p_iminsert = buf->b_p_iminsert;
|
||||
}
|
||||
|
||||
/// Set the global value for 'imsearch' to the local value.
|
||||
void set_imsearch_global(void)
|
||||
void set_imsearch_global(buf_T *buf)
|
||||
{
|
||||
p_imsearch = curbuf->b_p_imsearch;
|
||||
p_imsearch = buf->b_p_imsearch;
|
||||
}
|
||||
|
||||
static int expand_option_idx = -1;
|
||||
|
Reference in New Issue
Block a user