summaryrefslogtreecommitdiffstats
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-16 20:24:29 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-16 20:24:29 +0100
commit887748742deae3d6de7aa0fdbb042afe1ccf5e7a (patch)
tree3434eec0fb92e3c467c9fd94c0a5aeaae2e844cc /src/misc2.c
parent1889f499a4f248cd84e0e0bf6d0d820016774494 (diff)
patch 9.0.0222: no good reason why text objects are only in larger buildsv9.0.0222
Problem: No good reason why text objects are only in larger builds. Solution: Graduate +textobjects.
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/misc2.c b/src/misc2.c
index e17a6f1ead..38dcb48d17 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -650,7 +650,6 @@ check_visual_pos(void)
}
}
-#if defined(FEAT_TEXTOBJ) || defined(PROTO)
/*
* Make sure curwin->w_cursor is not on the NUL at the end of the line.
* Allow it when in Visual mode and 'selection' is not "old".
@@ -663,7 +662,6 @@ adjust_cursor_col(void)
&& gchar_cursor() == NUL)
--curwin->w_cursor.col;
}
-#endif
/*
* When curwin->w_leftcol has changed, adjust the cursor position.