forked from aniani/vim
updated for version 7.3.745
Problem: Automatically setting 'ttymouse' doesn't work. Solution: Reset the "option was set" flag when using the default.
This commit is contained in:
13
src/option.c
13
src/option.c
@@ -11178,6 +11178,19 @@ option_was_set(name)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Reset the flag indicating option "name" was set.
|
||||
*/
|
||||
void
|
||||
reset_option_was_set(name)
|
||||
char_u *name;
|
||||
{
|
||||
int idx = findoption(name);
|
||||
|
||||
if (idx >= 0)
|
||||
options[idx].flags &= ~P_WAS_SET;
|
||||
}
|
||||
|
||||
/*
|
||||
* compatible_set() - Called when 'compatible' has been set or unset.
|
||||
*
|
||||
|
Reference in New Issue
Block a user