Mercurial > vim
diff src/option.c @ 1904:062104a823df v7.2.201
updated for version 7.2-201
author | vimboss |
---|---|
date | Tue, 16 Jun 2009 13:23:06 +0000 |
parents | c8f343a465a2 |
children | afbe4a4c884c |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -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; }