aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/message.c2
-rw-r--r--src/nvim/regexp.c12
-rw-r--r--src/nvim/regexp_nfa.c4
-rw-r--r--src/nvim/window.c2
4 files changed, 10 insertions, 10 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 03561ba56f..fc7e96ac2c 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -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) {
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 1c63654b49..15a701f022 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -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:
diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c
index 854e7f9881..65ddcf3b07 100644
--- a/src/nvim/regexp_nfa.c
+++ b/src/nvim/regexp_nfa.c
@@ -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 */
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 79a81e8c03..e541e4bb68 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -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)