patch 9.0.0222: no good reason why text objects are only in larger builds
Problem: No good reason why text objects are only in larger builds.
Solution: Graduate +textobjects.
diff --git a/src/textobject.c b/src/textobject.c
index 41b6a29..d77ec96 100644
--- a/src/textobject.c
+++ b/src/textobject.c
@@ -614,7 +614,6 @@
return FALSE;
}
-#if defined(FEAT_TEXTOBJ) || defined(PROTO)
/*
* Go back to the start of the word or the start of white space
*/
@@ -1189,6 +1188,7 @@
return OK;
}
+#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Return TRUE if the cursor is on a "<aaa>" tag. Ignore "<aaa/>".
* When "end_tag" is TRUE return TRUE if the cursor is on "</aaa>".
@@ -1470,6 +1470,7 @@
p_ws = save_p_ws;
return retval;
}
+#endif
int
current_par(
@@ -2001,5 +2002,3 @@
}
return FALSE;
}
-
-#endif // FEAT_TEXTOBJ