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() */
|
need_wait_return = FALSE; /* don't wait in main() */
|
||||||
}
|
}
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
case 'q': /* quit */
|
case 'q': // quit
|
||||||
case Ctrl_C:
|
case Ctrl_C:
|
||||||
case ESC:
|
case ESC:
|
||||||
if (confirm_msg_used) {
|
if (confirm_msg_used) {
|
||||||
|
@ -1805,7 +1805,7 @@ static char_u *regatom(int *flagp)
|
|||||||
if (c == '[')
|
if (c == '[')
|
||||||
goto collection;
|
goto collection;
|
||||||
|
|
||||||
/* "\_x" is character class plus newline */
|
// "\_x" is character class plus newline
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -5154,7 +5154,7 @@ regrepeat (
|
|||||||
|
|
||||||
case IDENT:
|
case IDENT:
|
||||||
case IDENT + ADD_NL:
|
case IDENT + ADD_NL:
|
||||||
testval = TRUE;
|
testval = 1;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
case SIDENT:
|
case SIDENT:
|
||||||
case SIDENT + ADD_NL:
|
case SIDENT + ADD_NL:
|
||||||
@ -5181,7 +5181,7 @@ regrepeat (
|
|||||||
|
|
||||||
case KWORD:
|
case KWORD:
|
||||||
case KWORD + ADD_NL:
|
case KWORD + ADD_NL:
|
||||||
testval = TRUE;
|
testval = 1;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
case SKWORD:
|
case SKWORD:
|
||||||
case SKWORD + ADD_NL:
|
case SKWORD + ADD_NL:
|
||||||
@ -5210,7 +5210,7 @@ regrepeat (
|
|||||||
|
|
||||||
case FNAME:
|
case FNAME:
|
||||||
case FNAME + ADD_NL:
|
case FNAME + ADD_NL:
|
||||||
testval = TRUE;
|
testval = 1;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
case SFNAME:
|
case SFNAME:
|
||||||
case SFNAME + ADD_NL:
|
case SFNAME + ADD_NL:
|
||||||
@ -5238,7 +5238,7 @@ regrepeat (
|
|||||||
|
|
||||||
case PRINT:
|
case PRINT:
|
||||||
case PRINT + ADD_NL:
|
case PRINT + ADD_NL:
|
||||||
testval = TRUE;
|
testval = 1;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
case SPRINT:
|
case SPRINT:
|
||||||
case SPRINT + ADD_NL:
|
case SPRINT + ADD_NL:
|
||||||
@ -5417,7 +5417,7 @@ do_class:
|
|||||||
|
|
||||||
case ANYOF:
|
case ANYOF:
|
||||||
case ANYOF + ADD_NL:
|
case ANYOF + ADD_NL:
|
||||||
testval = TRUE;
|
testval = 1;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
|
|
||||||
case ANYBUT:
|
case ANYBUT:
|
||||||
|
@ -1220,7 +1220,7 @@ static int nfa_regatom(void)
|
|||||||
if (c == '[')
|
if (c == '[')
|
||||||
goto collection;
|
goto collection;
|
||||||
|
|
||||||
/* "\_x" is character class plus newline */
|
// "\_x" is character class plus newline
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -3256,7 +3256,7 @@ static nfa_state_T *post2nfa(int *postfix, int *end, int nfa_calc_size)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case NFA_COMPOSING: /* char with composing char */
|
case NFA_COMPOSING: // char with composing char
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
|
|
||||||
case NFA_MOPEN: /* \( \) Submatch */
|
case NFA_MOPEN: /* \( \) Submatch */
|
||||||
|
@ -421,7 +421,7 @@ wingotofile:
|
|||||||
case Ctrl_I:
|
case Ctrl_I:
|
||||||
type = FIND_ANY;
|
type = FIND_ANY;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
case 'd': /* Go to definition, using 'define' */
|
case 'd': // Go to definition, using 'define'
|
||||||
case Ctrl_D:
|
case Ctrl_D:
|
||||||
CHECK_CMDWIN
|
CHECK_CMDWIN
|
||||||
if ((len = find_ident_under_cursor(&ptr, FIND_IDENT)) == 0)
|
if ((len = find_ident_under_cursor(&ptr, FIND_IDENT)) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user