mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 19:55:04 -07:00
syntax: update types for keyentry_T,sp_syn
Replace 'short' with 'int16_t'
This commit is contained in:
parent
e6993f2491
commit
9b34b867dd
@ -18,9 +18,9 @@ typedef unsigned short disptick_T; /* display tick type */
|
|||||||
|
|
||||||
/* struct passed to in_id_list() */
|
/* struct passed to in_id_list() */
|
||||||
struct sp_syn {
|
struct sp_syn {
|
||||||
int inc_tag; /* ":syn include" unique tag */
|
int inc_tag; // ":syn include" unique tag
|
||||||
short id; /* highlight group ID of item */
|
int16_t id; // highlight group ID of item
|
||||||
short *cont_in_list; /* cont.in group IDs, if non-zero */
|
int16_t *cont_in_list; // cont.in group IDs, if non-zero
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -29,12 +29,12 @@ struct sp_syn {
|
|||||||
typedef struct keyentry keyentry_T;
|
typedef struct keyentry keyentry_T;
|
||||||
|
|
||||||
struct keyentry {
|
struct keyentry {
|
||||||
keyentry_T *ke_next; /* next entry with identical "keyword[]" */
|
keyentry_T *ke_next; // next entry with identical "keyword[]"
|
||||||
struct sp_syn k_syn; /* struct passed to in_id_list() */
|
struct sp_syn k_syn; // struct passed to in_id_list()
|
||||||
short *next_list; /* ID list for next match (if non-zero) */
|
int16_t *next_list; // ID list for next match (if non-zero)
|
||||||
int flags;
|
int flags;
|
||||||
int k_char; /* conceal substitute character */
|
int k_char; // conceal substitute character
|
||||||
char_u keyword[1]; /* actually longer */
|
char_u keyword[1]; // actually longer
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user