@@ -7377,7 +7377,8 @@ check_stl_option(s)
73777377check_clipboard_option ()
73787378{
73797379 int new_unnamed = 0 ;
7380- int new_autoselect = FALSE;
7380+ int new_autoselect_star = FALSE;
7381+ int new_autoselect_plus = FALSE;
73817382 int new_autoselectml = FALSE;
73827383 int new_html = FALSE;
73837384 regprog_T * new_exclude_prog = NULL ;
@@ -7398,13 +7399,19 @@ check_clipboard_option()
73987399 p += 11 ;
73997400 }
74007401 else if (STRNCMP (p , "autoselect" , 10 ) == 0
7401- && (p [10 ] == ',' || p [10 ] == NUL ))
7402+ && (p [10 ] == ',' || p [10 ] == NUL ))
74027403 {
7403- new_autoselect = TRUE;
7404+ new_autoselect_star = TRUE;
74047405 p += 10 ;
74057406 }
7407+ else if (STRNCMP (p , "autoselectplus" , 14 ) == 0
7408+ && (p [14 ] == ',' || p [14 ] == NUL ))
7409+ {
7410+ new_autoselect_plus = TRUE;
7411+ p += 14 ;
7412+ }
74067413 else if (STRNCMP (p , "autoselectml" , 12 ) == 0
7407- && (p [12 ] == ',' || p [12 ] == NUL ))
7414+ && (p [12 ] == ',' || p [12 ] == NUL ))
74087415 {
74097416 new_autoselectml = TRUE;
74107417 p += 12 ;
@@ -7433,7 +7440,8 @@ check_clipboard_option()
74337440 if (errmsg == NULL )
74347441 {
74357442 clip_unnamed = new_unnamed ;
7436- clip_autoselect = new_autoselect ;
7443+ clip_autoselect_star = new_autoselect_star ;
7444+ clip_autoselect_plus = new_autoselect_plus ;
74377445 clip_autoselectml = new_autoselectml ;
74387446 clip_html = new_html ;
74397447 vim_free (clip_exclude_prog );
0 commit comments