mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
Lint
This commit is contained in:
@@ -108,10 +108,10 @@ char_u *get_cscope_name(expand_T *xp, int idx)
|
|||||||
"a", "c", "d", "e", "f", "g", "i", "s", "t", NULL
|
"a", "c", "d", "e", "f", "g", "i", "s", "t", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Complete with query type of ":cscope find {query_type}".
|
// Complete with query type of ":cscope find {query_type}".
|
||||||
* {query_type} can be letters (c, d, ... a) or numbers (0, 1,
|
// {query_type} can be letters (c, d, ... a) or numbers (0, 1,
|
||||||
* ..., 9) but only complete with letters, since numbers are
|
// ..., 9) but only complete with letters, since numbers are
|
||||||
* redundant. */
|
// redundant.
|
||||||
return (char_u *)query_type[idx];
|
return (char_u *)query_type[idx];
|
||||||
}
|
}
|
||||||
case EXP_CSCOPE_KILL:
|
case EXP_CSCOPE_KILL:
|
||||||
@@ -1132,15 +1132,15 @@ static int cs_help(exarg_T *eap)
|
|||||||
cmdp->usage);
|
cmdp->usage);
|
||||||
if (strcmp(cmdp->name, "find") == 0)
|
if (strcmp(cmdp->name, "find") == 0)
|
||||||
MSG_PUTS(_("\n"
|
MSG_PUTS(_("\n"
|
||||||
" a: Find assignments to this symbol\n"
|
" a: Find assignments to this symbol\n"
|
||||||
" c: Find functions calling this function\n"
|
" c: Find functions calling this function\n"
|
||||||
" d: Find functions called by this function\n"
|
" d: Find functions called by this function\n"
|
||||||
" e: Find this egrep pattern\n"
|
" e: Find this egrep pattern\n"
|
||||||
" f: Find this file\n"
|
" f: Find this file\n"
|
||||||
" g: Find this definition\n"
|
" g: Find this definition\n"
|
||||||
" i: Find files #including this file\n"
|
" i: Find files #including this file\n"
|
||||||
" s: Find this C symbol\n"
|
" s: Find this C symbol\n"
|
||||||
" t: Find this text string\n"));
|
" t: Find this text string\n"));
|
||||||
|
|
||||||
cmdp++;
|
cmdp++;
|
||||||
}
|
}
|
||||||
|
@@ -370,16 +370,16 @@ static char *(p_cb_values[]) = {"unnamed", "unnamedplus", NULL};
|
|||||||
# define CB_UNNAMED 0x001
|
# define CB_UNNAMED 0x001
|
||||||
# define CB_UNNAMEDPLUS 0x002
|
# define CB_UNNAMEDPLUS 0x002
|
||||||
# define CB_UNNAMEDMASK (CB_UNNAMED | CB_UNNAMEDPLUS)
|
# define CB_UNNAMEDMASK (CB_UNNAMED | CB_UNNAMEDPLUS)
|
||||||
EXTERN long p_cwh; /* 'cmdwinheight' */
|
EXTERN long p_cwh; // 'cmdwinheight'
|
||||||
EXTERN long p_ch; /* 'cmdheight' */
|
EXTERN long p_ch; // 'cmdheight'
|
||||||
EXTERN int p_confirm; /* 'confirm' */
|
EXTERN int p_confirm; // 'confirm'
|
||||||
EXTERN int p_cp; /* 'compatible' */
|
EXTERN int p_cp; // 'compatible'
|
||||||
EXTERN char_u *p_cot; /* 'completeopt' */
|
EXTERN char_u *p_cot; // 'completeopt'
|
||||||
EXTERN long p_ph; /* 'pumheight' */
|
EXTERN long p_ph; // 'pumheight'
|
||||||
EXTERN char_u *p_cpo; /* 'cpoptions' */
|
EXTERN char_u *p_cpo; // 'cpoptions'
|
||||||
EXTERN char_u *p_csprg; /* 'cscopeprg' */
|
EXTERN char_u *p_csprg; // 'cscopeprg'
|
||||||
EXTERN int p_csre; /* 'cscoperelative' */
|
EXTERN int p_csre; // 'cscoperelative'
|
||||||
EXTERN char_u *p_csqf; /* 'cscopequickfix' */
|
EXTERN char_u *p_csqf; // 'cscopequickfix'
|
||||||
# define CSQF_CMDS "sgdctefia"
|
# define CSQF_CMDS "sgdctefia"
|
||||||
# define CSQF_FLAGS "+-0"
|
# define CSQF_FLAGS "+-0"
|
||||||
EXTERN int p_cst; /* 'cscopetag' */
|
EXTERN int p_cst; /* 'cscopetag' */
|
||||||
|
Reference in New Issue
Block a user