syntax: disptick_T is uint16_t

This commit is contained in:
Jan Edmund Lazo 2018-07-29 17:51:10 -04:00
parent 3feabcacb0
commit d3f609db05
2 changed files with 2 additions and 3 deletions

View File

@ -94,6 +94,7 @@ typedef struct {
typedef struct window_S win_T;
typedef struct wininfo_S wininfo_T;
typedef struct frame_S frame_T;
typedef uint16_t disptick_T; // display tick type
// for struct memline (it needs memfile_T)
#include "nvim/memline_defs.h"
@ -425,7 +426,7 @@ typedef struct {
synstate_T *b_sst_firstfree;
int b_sst_freecount;
linenr_T b_sst_check_lnum;
uint16_t b_sst_lasttick; /* last display tick */
disptick_T b_sst_lasttick; // last display tick
// for spell checking
garray_T b_langp; // list of pointers to slang_T, see spell.c

View File

@ -14,8 +14,6 @@ typedef struct syn_state synstate_T;
#include "nvim/buffer_defs.h"
#include "nvim/regexp_defs.h"
typedef unsigned short disptick_T; /* display tick type */
/* struct passed to in_id_list() */
struct sp_syn {
int inc_tag; // ":syn include" unique tag