mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
lint
This commit is contained in:
parent
300a7a4cf4
commit
01b2fa53f4
@ -2256,7 +2256,7 @@ static int do_more_prompt(int typed_char)
|
||||
need_wait_return = FALSE; /* don't wait in main() */
|
||||
}
|
||||
FALLTHROUGH;
|
||||
case 'q': /* quit */
|
||||
case 'q': // quit
|
||||
case Ctrl_C:
|
||||
case ESC:
|
||||
if (confirm_msg_used) {
|
||||
|
@ -1805,7 +1805,7 @@ static char_u *regatom(int *flagp)
|
||||
if (c == '[')
|
||||
goto collection;
|
||||
|
||||
/* "\_x" is character class plus newline */
|
||||
// "\_x" is character class plus newline
|
||||
FALLTHROUGH;
|
||||
|
||||
/*
|
||||
@ -5154,7 +5154,7 @@ regrepeat (
|
||||
|
||||
case IDENT:
|
||||
case IDENT + ADD_NL:
|
||||
testval = TRUE;
|
||||
testval = 1;
|
||||
FALLTHROUGH;
|
||||
case SIDENT:
|
||||
case SIDENT + ADD_NL:
|
||||
@ -5181,7 +5181,7 @@ regrepeat (
|
||||
|
||||
case KWORD:
|
||||
case KWORD + ADD_NL:
|
||||
testval = TRUE;
|
||||
testval = 1;
|
||||
FALLTHROUGH;
|
||||
case SKWORD:
|
||||
case SKWORD + ADD_NL:
|
||||
@ -5210,7 +5210,7 @@ regrepeat (
|
||||
|
||||
case FNAME:
|
||||
case FNAME + ADD_NL:
|
||||
testval = TRUE;
|
||||
testval = 1;
|
||||
FALLTHROUGH;
|
||||
case SFNAME:
|
||||
case SFNAME + ADD_NL:
|
||||
@ -5238,7 +5238,7 @@ regrepeat (
|
||||
|
||||
case PRINT:
|
||||
case PRINT + ADD_NL:
|
||||
testval = TRUE;
|
||||
testval = 1;
|
||||
FALLTHROUGH;
|
||||
case SPRINT:
|
||||
case SPRINT + ADD_NL:
|
||||
@ -5417,7 +5417,7 @@ do_class:
|
||||
|
||||
case ANYOF:
|
||||
case ANYOF + ADD_NL:
|
||||
testval = TRUE;
|
||||
testval = 1;
|
||||
FALLTHROUGH;
|
||||
|
||||
case ANYBUT:
|
||||
|
@ -1220,7 +1220,7 @@ static int nfa_regatom(void)
|
||||
if (c == '[')
|
||||
goto collection;
|
||||
|
||||
/* "\_x" is character class plus newline */
|
||||
// "\_x" is character class plus newline
|
||||
FALLTHROUGH;
|
||||
|
||||
/*
|
||||
@ -3256,7 +3256,7 @@ static nfa_state_T *post2nfa(int *postfix, int *end, int nfa_calc_size)
|
||||
break;
|
||||
}
|
||||
|
||||
case NFA_COMPOSING: /* char with composing char */
|
||||
case NFA_COMPOSING: // char with composing char
|
||||
FALLTHROUGH;
|
||||
|
||||
case NFA_MOPEN: /* \( \) Submatch */
|
||||
|
@ -421,7 +421,7 @@ wingotofile:
|
||||
case Ctrl_I:
|
||||
type = FIND_ANY;
|
||||
FALLTHROUGH;
|
||||
case 'd': /* Go to definition, using 'define' */
|
||||
case 'd': // Go to definition, using 'define'
|
||||
case Ctrl_D:
|
||||
CHECK_CMDWIN
|
||||
if ((len = find_ident_under_cursor(&ptr, FIND_IDENT)) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user