mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
refactor: enable -Wconversion warning for syntax.c (#19533)
Work on https://github.com/neovim/neovim/issues/567
This commit is contained in:
@@ -445,11 +445,11 @@ typedef struct {
|
||||
// "containedin" argument
|
||||
int b_syn_sync_flags; // flags about how to sync
|
||||
int16_t b_syn_sync_id; // group to sync on
|
||||
long b_syn_sync_minlines; // minimal sync lines offset
|
||||
long b_syn_sync_maxlines; // maximal sync lines offset
|
||||
long b_syn_sync_linebreaks; // offset for multi-line pattern
|
||||
char_u *b_syn_linecont_pat; // line continuation pattern
|
||||
regprog_T *b_syn_linecont_prog; // line continuation program
|
||||
linenr_T b_syn_sync_minlines; // minimal sync lines offset
|
||||
linenr_T b_syn_sync_maxlines; // maximal sync lines offset
|
||||
linenr_T b_syn_sync_linebreaks; // offset for multi-line pattern
|
||||
char_u *b_syn_linecont_pat; // line continuation pattern
|
||||
regprog_T *b_syn_linecont_prog; // line continuation program
|
||||
syn_time_T b_syn_linecont_time;
|
||||
int b_syn_linecont_ic; // ignore-case flag for above
|
||||
int b_syn_topgrp; // for ":syntax include"
|
||||
@@ -583,9 +583,9 @@ struct file_buffer {
|
||||
linenr_T b_mod_top; // topmost lnum that was changed
|
||||
linenr_T b_mod_bot; // lnum below last changed line, AFTER the
|
||||
// change
|
||||
long b_mod_xlines; // number of extra buffer lines inserted;
|
||||
linenr_T b_mod_xlines; // number of extra buffer lines inserted;
|
||||
// negative when lines were deleted
|
||||
wininfo_T *b_wininfo; // list of last used info for each window
|
||||
wininfo_T *b_wininfo; // list of last used info for each window
|
||||
disptick_T b_mod_tick_syn; // last display tick syntax was updated
|
||||
disptick_T b_mod_tick_decor; // last display tick decoration providers
|
||||
// where invoked
|
||||
|
Reference in New Issue
Block a user