commit 6a97eb332a1f42baf638f83ba8f1b41437363119
parent 4765d4e0599704b6251fc39346118656341d39e9
Author: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
Date: Sun, 20 Jul 2025 00:18:12 -0400
refactor: fixup! vim-patch:8.2.4881: "P" in Visual
7978660efb087583a1ac49c70588d72af80de6d7 removed all uses of ff:
```diff
-yankreg_T *get_y_previous(void)
-{
- return y_previous;
-}
-
-void set_y_previous(yankreg_T *yreg)
-{
- y_previous = yreg;
-}
```
Diffstat:
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
@@ -134,16 +134,6 @@ static char opchars[][3] = {
{ Ctrl_X, NUL, OPF_CHANGE }, // OP_NR_SUB
};
-yankreg_T *get_y_previous(void)
-{
- return y_previous;
-}
-
-void set_y_previous(yankreg_T *yreg)
-{
- y_previous = yreg;
-}
-
/// Translate a command name into an operator type.
/// Must only be called with a valid operator name!
int get_op_type(int char1, int char2)