mirror of
https://github.com/neovim/neovim.git
synced 2025-12-03 07:23:05 +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:
@@ -1268,6 +1268,7 @@ static int command_line_handle_key(CommandLineState *s)
|
||||
}
|
||||
return command_line_changed(s);
|
||||
}
|
||||
// fallthrough
|
||||
|
||||
case K_UP:
|
||||
case K_DOWN:
|
||||
|
||||
Reference in New Issue
Block a user