mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 10:18:18 +00:00
*: Comment intentional fallthroughs
Falling through a switch case should be commented so it's clear that behavior is intentional.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user