diff options
author | James McCoy <jamessan@jamessan.com> | 2017-04-20 01:17:42 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-05-12 12:01:25 -0400 |
commit | 0ff959329bb8a8ae22856a65b5289b41bdae433a (patch) | |
tree | 26329b6d1a18613fad9212f48fd98e88a8c50cbb /src/nvim/normal.c | |
parent | d840ff7b7019a08171c07568c1fdd0841f6dd07e (diff) | |
download | rneovim-0ff959329bb8a8ae22856a65b5289b41bdae433a.tar.gz rneovim-0ff959329bb8a8ae22856a65b5289b41bdae433a.tar.bz2 rneovim-0ff959329bb8a8ae22856a65b5289b41bdae433a.zip |
*: Comment intentional fallthroughs
Falling through a switch case should be commented so it's clear that
behavior is intentional.
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index f73e3079b9..050020d79d 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -1861,6 +1861,7 @@ void do_pending_operator(cmdarg_T *cap, int old_col, bool gui_yank) } else { bangredo = true; // do_bang() will put cmd in redo buffer. } + // fallthrough case OP_INDENT: case OP_COLON: |