diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-20 23:57:06 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-21 00:05:06 -0400 |
commit | 300a7a4cf464c32c9dfca577c4434060ab9d6ad2 (patch) | |
tree | a29fc79f06ba82c9086304b4697ee0800422e1a4 /src/nvim/normal.c | |
parent | 6a329b05484a546b5ca6ed87cf355ad6f6007b8e (diff) | |
download | rneovim-300a7a4cf464c32c9dfca577c4434060ab9d6ad2.tar.gz rneovim-300a7a4cf464c32c9dfca577c4434060ab9d6ad2.tar.bz2 rneovim-300a7a4cf464c32c9dfca577c4434060ab9d6ad2.zip |
replace fallthrough comment with macro
Follow-up of vim-patch:8.0.1215
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index ee3cd83963..45620bfc54 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -4202,12 +4202,12 @@ dozet: else curwin->w_cursor.lnum = curwin->w_botline; } - /* FALLTHROUGH */ + FALLTHROUGH; case NL: case CAR: case K_KENTER: beginline(BL_WHITE | BL_FIX); - /* FALLTHROUGH */ + FALLTHROUGH; case 't': scroll_cursor_top(0, true); redraw_later(VALID); @@ -4216,7 +4216,7 @@ dozet: /* "z." and "zz": put cursor in middle of screen */ case '.': beginline(BL_WHITE | BL_FIX); - /* FALLTHROUGH */ + FALLTHROUGH; case 'z': scroll_cursor_halfway(true); redraw_later(VALID); @@ -4234,10 +4234,10 @@ dozet: curwin->w_cursor.lnum = 1; else curwin->w_cursor.lnum = curwin->w_topline - 1; - /* FALLTHROUGH */ + FALLTHROUGH; case '-': beginline(BL_WHITE | BL_FIX); - /* FALLTHROUGH */ + FALLTHROUGH; case 'b': scroll_cursor_bot(0, true); redraw_later(VALID); @@ -4247,7 +4247,7 @@ dozet: /* "zH" - scroll screen right half-page */ case 'H': cap->count1 *= curwin->w_width / 2; - /* FALLTHROUGH */ + FALLTHROUGH; /* "zh" - scroll screen to the right */ case 'h': @@ -4263,7 +4263,7 @@ dozet: /* "zL" - scroll screen left half-page */ case 'L': cap->count1 *= curwin->w_width / 2; - /* FALLTHROUGH */ + FALLTHROUGH; /* "zl" - scroll screen to the left */ case 'l': @@ -6663,7 +6663,7 @@ static void nv_g_cmd(cmdarg_T *cap) */ case K_BS: cap->nchar = Ctrl_H; - /* FALLTHROUGH */ + FALLTHROUGH; case 'h': case 'H': case Ctrl_H: @@ -6729,7 +6729,7 @@ static void nv_g_cmd(cmdarg_T *cap) */ case '^': flag = true; - /* FALLTHROUGH */ + FALLTHROUGH; case '0': case 'm': |