mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Make clint happy again
This commit is contained in:
parent
29e618c93c
commit
17cb95b222
@ -438,15 +438,15 @@ typedef struct {
|
|||||||
linenr_T b_sst_check_lnum;
|
linenr_T b_sst_check_lnum;
|
||||||
uint16_t b_sst_lasttick; /* last display tick */
|
uint16_t b_sst_lasttick; /* last display tick */
|
||||||
|
|
||||||
/* for spell checking */
|
// for spell checking
|
||||||
garray_T b_langp; /* list of pointers to slang_T, see spell.c */
|
garray_T b_langp; // list of pointers to slang_T, see spell.c
|
||||||
bool b_spell_ismw[256]; /* flags: is midword char */
|
bool b_spell_ismw[256]; // flags: is midword char
|
||||||
char_u *b_spell_ismw_mb; /* multi-byte midword chars */
|
char_u *b_spell_ismw_mb; // multi-byte midword chars
|
||||||
char_u *b_p_spc; /* 'spellcapcheck' */
|
char_u *b_p_spc; // 'spellcapcheck'
|
||||||
regprog_T *b_cap_prog; /* program for 'spellcapcheck' */
|
regprog_T *b_cap_prog; // program for 'spellcapcheck'
|
||||||
char_u *b_p_spf; /* 'spellfile' */
|
char_u *b_p_spf; // 'spellfile'
|
||||||
char_u *b_p_spl; /* 'spelllang' */
|
char_u *b_p_spl; // 'spelllang'
|
||||||
int b_cjk; /* all CJK letters as OK */
|
int b_cjk; // all CJK letters as OK
|
||||||
char_u b_syn_chartab[32]; // syntax iskeyword option
|
char_u b_syn_chartab[32]; // syntax iskeyword option
|
||||||
char_u *b_syn_isk; // iskeyword option
|
char_u *b_syn_isk; // iskeyword option
|
||||||
} synblock_T;
|
} synblock_T;
|
||||||
|
@ -1638,8 +1638,8 @@ syn_current_attr (
|
|||||||
int lc_col;
|
int lc_col;
|
||||||
reg_extmatch_T *cur_extmatch = NULL;
|
reg_extmatch_T *cur_extmatch = NULL;
|
||||||
char_u buf_chartab[32]; // chartab array for syn iskeyword
|
char_u buf_chartab[32]; // chartab array for syn iskeyword
|
||||||
char_u *line; /* current line. NOTE: becomes invalid after
|
char_u *line; // current line. NOTE: becomes invalid after
|
||||||
looking for a pattern match! */
|
// looking for a pattern match!
|
||||||
|
|
||||||
/* variables for zero-width matches that have a "nextgroup" argument */
|
/* variables for zero-width matches that have a "nextgroup" argument */
|
||||||
int keep_next_list;
|
int keep_next_list;
|
||||||
@ -2548,7 +2548,7 @@ find_endpos (
|
|||||||
regmmatch_T best_regmatch; /* startpos/endpos of best match */
|
regmmatch_T best_regmatch; /* startpos/endpos of best match */
|
||||||
lpos_T pos;
|
lpos_T pos;
|
||||||
char_u *line;
|
char_u *line;
|
||||||
int had_match = FALSE;
|
int had_match = false;
|
||||||
char_u buf_chartab[32]; // chartab array for syn option iskeyword
|
char_u buf_chartab[32]; // chartab array for syn option iskeyword
|
||||||
|
|
||||||
/* just in case we are invoked for a keyword */
|
/* just in case we are invoked for a keyword */
|
||||||
@ -2589,9 +2589,9 @@ find_endpos (
|
|||||||
unref_extmatch(re_extmatch_in);
|
unref_extmatch(re_extmatch_in);
|
||||||
re_extmatch_in = ref_extmatch(start_ext);
|
re_extmatch_in = ref_extmatch(start_ext);
|
||||||
|
|
||||||
matchcol = startpos->col; /* start looking for a match at sstart */
|
matchcol = startpos->col; // start looking for a match at sstart
|
||||||
start_idx = idx; /* remember the first END pattern. */
|
start_idx = idx; // remember the first END pattern.
|
||||||
best_regmatch.startpos[0].col = 0; /* avoid compiler warning */
|
best_regmatch.startpos[0].col = 0; // avoid compiler warning
|
||||||
|
|
||||||
// use syntax iskeyword option
|
// use syntax iskeyword option
|
||||||
save_chartab(buf_chartab);
|
save_chartab(buf_chartab);
|
||||||
@ -5439,25 +5439,25 @@ struct subcommand {
|
|||||||
|
|
||||||
static struct subcommand subcommands[] =
|
static struct subcommand subcommands[] =
|
||||||
{
|
{
|
||||||
{"case", syn_cmd_case},
|
{ "case", syn_cmd_case },
|
||||||
{"clear", syn_cmd_clear},
|
{ "clear", syn_cmd_clear },
|
||||||
{"cluster", syn_cmd_cluster},
|
{ "cluster", syn_cmd_cluster },
|
||||||
{"conceal", syn_cmd_conceal},
|
{ "conceal", syn_cmd_conceal },
|
||||||
{"enable", syn_cmd_enable},
|
{ "enable", syn_cmd_enable },
|
||||||
{"include", syn_cmd_include},
|
{ "include", syn_cmd_include },
|
||||||
{"iskeyword", syn_cmd_iskeyword},
|
{ "iskeyword", syn_cmd_iskeyword },
|
||||||
{"keyword", syn_cmd_keyword},
|
{ "keyword", syn_cmd_keyword },
|
||||||
{"list", syn_cmd_list},
|
{ "list", syn_cmd_list },
|
||||||
{"manual", syn_cmd_manual},
|
{ "manual", syn_cmd_manual },
|
||||||
{"match", syn_cmd_match},
|
{ "match", syn_cmd_match },
|
||||||
{"on", syn_cmd_on},
|
{ "on", syn_cmd_on },
|
||||||
{"off", syn_cmd_off},
|
{ "off", syn_cmd_off },
|
||||||
{"region", syn_cmd_region},
|
{ "region", syn_cmd_region },
|
||||||
{"reset", syn_cmd_reset},
|
{ "reset", syn_cmd_reset },
|
||||||
{"spell", syn_cmd_spell},
|
{ "spell", syn_cmd_spell },
|
||||||
{"sync", syn_cmd_sync},
|
{ "sync", syn_cmd_sync },
|
||||||
{"", syn_cmd_list},
|
{ "", syn_cmd_list },
|
||||||
{NULL, NULL}
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user