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/ex_getln.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/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index fe45ba4568..8945f807da 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -1268,6 +1268,7 @@ static int command_line_handle_key(CommandLineState *s) } return command_line_changed(s); } + // fallthrough case K_UP: case K_DOWN: |