Patch 8.0.1621
Problem:    Using invalid default value for highlight attribute.
Solution:   Use zero instead of -1.
Files:      src/syntax.c


*** ../vim-8.0.1620/src/syntax.c        2018-03-04 18:07:04.284592244 +0100
--- src/syntax.c        2018-03-20 12:57:52.163042361 +0100
***************
*** 10044,10054 ****
  #ifdef USER_HIGHLIGHT
      char_u      userhl[10];
  # ifdef FEAT_STL_OPT
-     int               id_SNC = -1;
      int               id_S = -1;
  #  ifdef FEAT_TERMINAL
!     int               id_ST = -1;
!     int               id_STNC = -1;
  #  endif
      int               hlcnt;
  # endif
--- 10044,10054 ----
  #ifdef USER_HIGHLIGHT
      char_u      userhl[10];
  # ifdef FEAT_STL_OPT
      int               id_S = -1;
+     int               id_SNC = 0;
  #  ifdef FEAT_TERMINAL
!     int               id_ST = 0;
!     int               id_STNC = 0;
  #  endif
      int               hlcnt;
  # endif
*** ../vim-8.0.1620/src/version.c       2018-03-20 12:34:00.138383018 +0100
--- src/version.c       2018-03-20 12:58:56.978690562 +0100
***************
*** 768,769 ****
--- 768,771 ----
  {   /* Add new patch number below this line */
+ /**/
+     1621,
  /**/

-- 
Give a man a computer program and you give him a headache,
but teach him to program computers and you give him the power
to create headaches for others for the rest of his life...
        R. B. Forest

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui