forked from aniani/vim
updated for version 7.2-201
This commit is contained in:
@@ -7024,6 +7024,7 @@ check_clipboard_option()
|
||||
int new_unnamed = FALSE;
|
||||
int new_autoselect = FALSE;
|
||||
int new_autoselectml = FALSE;
|
||||
int new_html = FALSE;
|
||||
regprog_T *new_exclude_prog = NULL;
|
||||
char_u *errmsg = NULL;
|
||||
char_u *p;
|
||||
@@ -7047,6 +7048,11 @@ check_clipboard_option()
|
||||
new_autoselectml = TRUE;
|
||||
p += 12;
|
||||
}
|
||||
else if (STRNCMP(p, "html", 4) == 0 && (p[4] == ',' || p[4] == NUL))
|
||||
{
|
||||
new_html = TRUE;
|
||||
p += 4;
|
||||
}
|
||||
else if (STRNCMP(p, "exclude:", 8) == 0 && new_exclude_prog == NULL)
|
||||
{
|
||||
p += 8;
|
||||
@@ -7068,6 +7074,7 @@ check_clipboard_option()
|
||||
clip_unnamed = new_unnamed;
|
||||
clip_autoselect = new_autoselect;
|
||||
clip_autoselectml = new_autoselectml;
|
||||
clip_html = new_html;
|
||||
vim_free(clip_exclude_prog);
|
||||
clip_exclude_prog = new_exclude_prog;
|
||||
}
|
||||
|
Reference in New Issue
Block a user