aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/arglist.c3
-rw-r--r--src/nvim/normal.c9
2 files changed, 4 insertions, 8 deletions
diff --git a/src/nvim/arglist.c b/src/nvim/arglist.c
index ae174403a0..c7af1a71be 100644
--- a/src/nvim/arglist.c
+++ b/src/nvim/arglist.c
@@ -1024,7 +1024,8 @@ static void do_arg_all(int count, int forceit, int keep_tabs)
return;
}
if (ARGCOUNT <= 0) {
- // Don't give an error message. We don't want it when the ":all" command is in the .vimrc.
+ // Don't give an error message. We don't want it when the ":all"
+ // command is in the .vimrc.
return;
}
setpcmark();
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index ec89e25b97..e058be9135 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -1740,9 +1740,7 @@ bool do_mouse(oparg_T *oap, int c, int dir, long count, bool fixindent)
}
// click in a tab selects that tab page
- if (is_click
- && cmdwin_type == 0
- && mouse_col < Columns) {
+ if (is_click && cmdwin_type == 0 && mouse_col < Columns) {
in_tab_line = true;
c1 = tab_page_click_defs[mouse_col].tabnr;
switch (tab_page_click_defs[mouse_col].type) {
@@ -6918,10 +6916,7 @@ static void nv_esc(cmdarg_T *cap)
&& cap->oap->regname == 0);
if (cap->arg) { // true for CTRL-C
- if (restart_edit == 0
- && cmdwin_type == 0
- && !VIsual_active
- && no_reason) {
+ if (restart_edit == 0 && cmdwin_type == 0 && !VIsual_active && no_reason) {
if (anyBufIsChanged()) {
msg(_("Type :qa! and press <Enter> to abandon all changes"
" and exit Nvim"));