Patch 8.0.1042 (after 8.0.1038)
Problem: Without the syntax feature highlighting doesn't work.
Solution: Always use unsigned short to store attributes.
Files: src/vim.h
*** ../vim-8.0.1041/src/vim.h 2017-09-02 18:33:52.457554443 +0200
--- src/vim.h 2017-09-02 20:39:01.079932214 +0200
***************
*** 435,447 ****
* The characters and attributes cached for the screen.
*/
typedef char_u schar_T;
- #ifdef FEAT_SYN_HL
typedef unsigned short sattr_T;
! # define MAX_TYPENR 65535
! #else
! typedef unsigned char sattr_T;
! # define MAX_TYPENR 255
! #endif
/*
* The u8char_T can hold one decoded UTF-8 character.
--- 435,442 ----
* The characters and attributes cached for the screen.
*/
typedef char_u schar_T;
typedef unsigned short sattr_T;
! #define MAX_TYPENR 65535
/*
* The u8char_T can hold one decoded UTF-8 character.
*** ../vim-8.0.1041/src/version.c 2017-09-02 20:30:31.171314990 +0200
--- src/version.c 2017-09-02 20:38:41.668061108 +0200
***************
*** 771,772 ****
--- 771,774 ----
{ /* Add new patch number below this line */
+ /**/
+ 1042,
/**/
--
hundred-and-one symptoms of being an internet addict:
54. You start tilting your head sideways to smile. :-)
/// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.