chore(lgtm): fix "empty block without comment" warnings

This commit is contained in:
Dundar Göc
2022-03-08 19:58:45 +01:00
parent f27068caad
commit 05f643f9d2
6 changed files with 6 additions and 11 deletions

View File

@@ -2105,10 +2105,9 @@ bool do_mouse(oparg_T *oap, int c, int dir, long count, bool fixindent)
} else { // MOUSE_RIGHT
stuffcharReadbuff('#');
}
}
// Handle double clicks, unless on status line
else if (in_status_line) {
} else if (in_sep_line) {
} else if (in_status_line || in_sep_line) {
// Do nothing if on status line or vertical separator
// Handle double clicks otherwise
} else if ((mod_mask & MOD_MASK_MULTI_CLICK) && (State & (NORMAL | INSERT))) {
if (is_click || !VIsual_active) {
if (VIsual_active) {