diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-03-08 19:58:45 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-03-09 09:29:57 +0100 |
commit | 05f643f9d235b0db881acf94ce05ad3359ffb058 (patch) | |
tree | 99f5f801df3609f4c44dc89f8e1094a7b516f748 /src/nvim/normal.c | |
parent | f27068caad517c52e700477d51343cbebd8d4df0 (diff) | |
download | rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.tar.gz rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.tar.bz2 rneovim-05f643f9d235b0db881acf94ce05ad3359ffb058.zip |
chore(lgtm): fix "empty block without comment" warnings
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 7fe6469527..5c39e9c8bf 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -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) { |