summaryrefslogtreecommitdiffstats
path: root/src/mouse.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-21 20:17:31 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-21 20:17:31 +0100
commit8e145b82464a21ee4fdf7948f04e2a1d505f8bfa (patch)
tree833d3862b868395323a8670c15af4b30f1d5564e /src/mouse.c
parent5a01caa90428a5f87600528d68529383c0b2f78c (diff)
patch 8.2.4993: smart/C/lisp indenting is optionalv8.2.4993
Problem: smart/C/lisp indenting is optional, which makes the code more complex, while it only reduces the executable size a bit. Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
Diffstat (limited to 'src/mouse.c')
-rw-r--r--src/mouse.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mouse.c b/src/mouse.c
index 58c4ab4ec6..a66c00d872 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -1083,9 +1083,7 @@ ins_mouse(int c)
curwin = new_curwin;
curbuf = curwin->w_buffer;
}
-# ifdef FEAT_CINDENT
set_can_cindent(TRUE);
-# endif
}
// redraw status lines (in case another window became active)
@@ -1173,9 +1171,7 @@ ins_mousescroll(int dir)
if (!EQUAL_POS(curwin->w_cursor, tpos))
{
start_arrow(&tpos);
-# ifdef FEAT_CINDENT
set_can_cindent(TRUE);
-# endif
}
}